Featured Tutorials

photoshop,buttons,blending options,web 2.0,web20,stylish buttons,sleek buttons,shiny buttons,shiny effects,rss button,rss logo Sleek Web 2.0 Buttons using Photoshop's

Sleek Web 2.0 Buttons using Photoshop's "Blending Options"

This is one of the best looking buttons I've seen and have used this tutorial many times i..

vector photos,vector art,pen tool,photoshop,photoshop pen tool,pen tool illustration,vector pen tool,vector illustration,vector in photoshop How to Vector Illustrate a Photo with the Pen Tool in Photoshop

How to Vector Illustrate a Photo with the Pen Tool in Photoshop

This very detailed tutorial will show you some of the techniques you will need for transfo..

shape dynamics,grass text,bush text,tree text,green text,text effects,brush effects,photoshop tutorial,leafy text,leaves text,brush dynamics,grass effect text,grass text,text with brush Text Effects #3 Brush Text with Shape Dynamics

Text Effects #3 Brush Text with Shape Dynamics

Learn how to create dynamic text effects with shape dynamics that allows you to write text..

Christmas  Flash eCard, Flash greeting eCard, Flash eCard, Christmas eCard, greeting eCard How to Make Personalized Multimedia Flash eCard in PowerPoint

How to Make Personalized Multimedia Flash eCard in PowerPoint

Make Personalized Multimedia Flash eCard from PowerPoint with your photos, music and greet..

photoshop psd,psd to html,psd to css,photoshop to html,coding a website,css basics,learn css,learn html,coding a layout,psd layout,psd coding,coding a psd Learn CSS: How to code a Photoshop PSD into a website layout

Learn CSS: How to code a Photoshop PSD into a website layout

This tutorial is great for beginners who want to not only learn the basics of coding websi..

Featured Videos

This detailed video will show you how to configure the third part..

Learn basic web design and seo skills, also explains what meta ta..

Heres a must for all flash developers, as you will at some point ..

This detailed tutorial will teach you how to create a realistic l..

This video will show you two very useful web-based tools for seo ..

Learn CSS: Link Classes

Basic Links

When you create a link in CSS it can be just a standard link with a few basic properties simular to standard HTML links, heres an example:

As a class in your stylesheet document

a {font-family:Verdana; font-size: 12pt; color: black; font-weight: bold;}

or directly within an <a> tag

<a style="font-family:Verdana; font-size: 12pt; color: black; font-weight: bold;">Link Example</a>

 

Link Properties

Here a list of the additional properties that you can apply to your links:

color: black;
color: #000000;
font-weight: bold;
font-weight: normal;
font-size: 10pt;
font-size: 10px;
text-decoration: none;
text-decoration: underline;
text-decoration: overline;
text-decoration: line-through;

 

Dynamic Links (Pseudo-classes)

If you want your links to do more you will need to add classes to them within your stylesheet document, below are some example of links that use different classes:

a:link {font-family: Verdana; font-size: 12pt; color: black;}
a:active {font-family: Verdana; font-size: 12pt; color: black;}
a:visited {font-family: Verdana; font-size: 12pt; color: grey;}
a:hover {font-family: Verdana; font-size: 12pt; color: red; font-weight: bold;}

Link example 1

This example has not been given any class before the ":link :acive :visited or :hover" this means that these settings will effect all <a> tag links that havent been given a class a bit like a universal setting.

 

a.example12link {font-family: Verdana; font-size: 12pt; color: black; text-decoration: none;}
a.example2:active {font-family: Verdana; font-size: 12pt; color: black; text-decoration: none;}
a.example2:visited {font-family: Verdana; font-size: 12pt; color: grey; text-decoration: none;}
a.example2:hover {font-family: Verdana; font-size: 12pt; color: grey; text-decoration: underline;}

Link example 2

This example has been given a class as you can see above with "a.example2:link". All you need to add to your <a> tag is:

<a class="example2">Link example 2</a>

 

More Web Design...

Other Content...

 Subscribe to our feed

Send to a friend