Stuck yet again (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


BeTheBall -> Stuck yet again (2/1/2005 10:37:22)

I am trying to change the color of a link. I currently have the following class in my stylesheet:

.clFoldLinks {font-family:Arial, Verdana, Helvetica, Helv; font-size:12px; font-weight:bold; text-decoration:none; color:black;}

I want to add a link color, so I tried just adding the following two lines to no avail:

a.c1FoldLinks:link{color: yellow;}
a.c1FoldLinks:visited{color: yellow;}

Thoughts?




jeepless -> RE: Stuck yet again (2/1/2005 12:43:34)

Your problem may be due to something else, but I noticed that you have a typo in your new style statement.

You used ".cl" in the original css, but then used ".c1" in your new statement (L vs. 1)

Try changing these to match and see if that fixes it.





BeTheBall -> RE: Stuck yet again (2/1/2005 12:57:23)

Doh!!![sm=icon_redface.gif][sm=icon_redface.gif]

Thanks for catching that.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875