I need some help with creating a background color along with a text color and link for a block of text in my website. Here is what I tried but it didn't work for me:
My style sheet has theCode:<span style="background-color:#000099" font-color="FFFFFF"><a href="#" target="_blank"><strong>sample text</strong></a></span>for the body text of my pages, but I want this text link and other blocks of text links (yet to be determined) to be white with the background of #000099. Right now it keeps defaulting to the style sheet colors.Code:a:link { color: #0000FF; text-decoration: none; } a:visited { color: #000099; text-decoration: none; } a:hover { color: #FF0000; text-decoration: none; } a:active { color: #FF00FF; text-decoration: none; }
I'd post my url but the pages aren't published yet and reside on my hard drive still. Any ideas?



Reply With Quote


Thanks for the replies. I am on the road right now and will give your suggestions a try when I can find the time. Thanks again.
Bookmarks