i want links that are shown in the main page header to be white but then in center part of the main page i want the links to be black. Is this possible?
You want the links to be white in both places? Assuming that is a typo you can use styles ... in their simplest form (inline), just set the color attribute: <a href="#" style="color:white;">Link1</a> <a href="#" style="color:red;">Link2</a> ...pretty self explanatory
Hi, yes it was a typo i wanted a combination of white links at the top and black link to the left column. Code works a treat, and yes easy when you know how.
CSS (cascading style sheets) Should be defined in the Head or in an external sheet, if and where possible. The style attribute is not recommended. so it should be: Somewhere in the Head: <style type="text/css"> a.link1 { color: #FFF; } a.link2 { color: #F00; } </style> Somewhere in the Body: <a class="link1" href="link1.htm">Link 1</a> <a class="link2" href="link2.htm">Link 2</a>
It can also be defined on the header.. Bobby is right and is easy too , let's imagine a situation in which the person does 100 links , too tough to do the style attribute for all.. So Bobby's solution is the best