Featured Tutorials

flash tutorials, iris window, enter button, animated porthole,iris in flash,iris illustration,drawing an iris,iris in flash,flash iris,flash tutorial,iris tutorial Iris Porthole Door Animation in Flash

Iris Porthole Door Animation in Flash

Very cool effect that could be used for an intro or as an enter button for any web site...

download, textures, 3D modeling, futuristic, buildings, space ships,free textures,space textures,wall textures,texture download Futuristic Texture Pack

Futuristic Texture Pack

A collection of futurstic textures used in the Future city project...

flash,swf,external,swf file,position,swf position,setting position,loadmovie,load movie,levels,movieclip Set position of external SWF file in Flash

Set position of external SWF file in Flash

A few tips for using levels in flash when loading swf files, and how to set the position o..

futuristic,button design,splash page,photoshop design,button tutorial,futuristic tutorial,futuristic design,sci-fi design,sci fi design,shiny buttons,metallic button,chrome button,chrome effects Futuristic Button Design in Photoshop

Futuristic Button Design in Photoshop

This Photoshop tutorial is perfect for those who want to learn more about gradient, metall..

flash,actionscript,script,scripting,bad words,bd word filter,word filter,filter words,remove words,removing bad words,remove bad words,swear words,remove swear words Simple Bad Word Filter in Flash

Simple Bad Word Filter in Flash

Learn the simplest way to remove bad words or swear words from a flash input field or dyna..

Featured Videos

Another amazing video showing how easy it is to change a persons ..

A very cool tutorial on one of Photoshop CS3's fancy new tools, t..

Learn how to create 3d spinning animated text with thie Swift 3D ..

A useful tutorial for creating an Ethernet or Patch Cable for net..

Heres some great inspiration for logo design with examples of mod..

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