|
Helping ordinary people create extraordinary websites! |
Having Different Link Colors on One PageBy Ades Tynyshev2005-05-31
Second way of doing this Above we have applied the css style to the whole table cell, applying css to the table cell can save us time in converting all the links in that particular table cell to one color (in our example we have turned them to white). However I would like to show you the second way, applying to individual links separately one by one. This might be useful if you have only one link in the page to be different color than the rest.
As you see the structure of the style is pretty straightforward, a(dot)your link style name(colon)link state And this is how you apply the style to the link, just add class="linkStyleName" inside the link code as shown below:
Feel free to change the color of the link states (link, hover, visited, active). To keep the tutorial simple I used only one color for all four states. Tutorial Pages: » Having different link colors on one page » Second way of doing this |
|