|
|
longplay
regular
Reg'd: Mon
Posts: 266
Loc: UK
|
Re: CSS Properties
Fri May 14 2004 03:02 PM
|
|
|
AS TFC points out, you can assign different text and link colours to different areas of the page. All you need to do is put them in a div with an ID attribute, so you reference it.
So
#navbar a { color: black; }
#content a { color: white; }
a { color: purple; }
don't interfere with each other, any link which is contained within <div id="navbar"></div> tags is black, any links between <div id="content"></div> tags are white and any other links are purple.
The Digerati Peninsula
|
|
|
|
|