The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Links design problems
I have a problem separating css for different links throughout my site. For example, my navigation tab links and links inside the text have the same design. I just started learning css so I would appreciate any help. Thanks.
Well let’s say you have link in a navigation tab like this:
Text for link
And a link in normal text:
In your CSS, you can target the link in your navigation and the link in your paragraph, and style them differently with the following code:
#navigation a { color: red; } #maintext a { color: blue; }
That should give the navigation links a red color, and the maintext paragraph links a blue color.
I’ll give it a try……….thanks Bob.