mwstinson Posted July 7, 2006 Posted July 7, 2006 OK here is the situation.... I need the links in the category infoboxes to be a different color than the links on the rest of the pages. However it seems that both are controled by A { color: #ffffff; text-decoration: none; } I have added the following to my stylesheet.css: a.infoBoxContents { color: #000000; text-decoration: underline; } But i do not know how to get the links in the categories and other info boxes to call to that class. If anyone can help me it would be great. Thanks, Matthew I thought this stuff was gonna be easy!! BACK IT UP BEFORE YOU JACK IT UP!!!!
spax Posted July 7, 2006 Posted July 7, 2006 The A rule in your stylesheet is global so unless a link is otherwise set, it will use that. To use a different rule for the categories box, open in up in a text editor and find this: $categories_string .= '<a href="'; It should be on line 20. Change it so it reads: $categories_string .= '<a class="infoBoxContents" href="'; Assuming you kept the same name for the rule you posted previous, that should do it for you. You realise though, by using that as you have it, the links will remain white and underlined for all states; link visited hover and active.
spax Posted July 7, 2006 Posted July 7, 2006 You realise though, by using that as you have it, the links will remain white Of course I meant Black. :rolleyes:
mwstinson Posted July 7, 2006 Author Posted July 7, 2006 Awesome!!!!!!!! Thank You SOOOOO Much! I thought this stuff was gonna be easy!! BACK IT UP BEFORE YOU JACK IT UP!!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.