Div Unique CSS Style Links
Posted
by Tom
on Stack Overflow
See other posts from Stack Overflow
or by Tom
Published on 2010-03-23T15:51:24Z
Indexed on
2010/03/23
15:53 UTC
Read the original article
Hit count: 310
Hi, I want to create unique styles for my links in a single particular div (So for example I want all links bold and red in the main body, but in the sidebardiv I want them blue and italic) How do I go about it?
I have: a:link{ color:#666666; } a:visited{ color:#003300; } a:hover{ color:#006600; } a:active{ color:#006600; }
however if I put that in the sidebar div section it messes up my }'s
© Stack Overflow or respective owner