hadoob024
10-18-2007, 12:28 AM
I can't figure this one out. I've googled some stuff and looked at a ton of CSS stuff and can't see where the problems are. Here's my page:
http://www.ofre.com
Once you visit the site, when you hover over a link I've applied color changes. However, once you visit a particular page, if you hover your mouse over that page's link, the color change doesn't seem to work. Here's my CSS:
<style type="text/css">
html
{ font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: small;
font-weight: normal;
color: #000000 }
td
{ font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9pt;
font-weight: normal; }
a.red {color: blue; font-weight: bold; text-decoration: none; padding-left: 3px; padding-right: 3px}
a:hover.red {color: #990000; font-weight: bold; background-color: #FFFF66; padding-left: 3px; padding-right: 3px}
a:visited.red {color: blue; font-weight: bold; text-decoration: none; padding-left: 3px; padding-right: 3px}
a { text-decoration: none; color: blue}
a:hover { text-decoration: none; color: #990000}
a:active { text-decoration: none; color: #FFFFFF }
a:visited { text-decoration: none; color: blue }
</style>
And then here's the code that I use on the menu in question:
<a href="http://www.ofre.com/aboutus.php" class="red" title="OFRE About Us">About Us</a>   |   <a href="http://www.ofre.com/searchlistings.php" class="red" title="OFRE Search Listings">Search Listings</a>   |   <a href="https://www.ofre.com/addlisting.php" class="red" title="OFRE Add Listing">Add Listing</a>   |   <a href="http://www.ofre.com/hotlist.php" class="red" title="OFRE Hot List">Hot List</a>   |   <A href="http://www.ofre.com/ofrenewslettersmain.php" class="red" title="OFRE Newsletters">Newsletters</A>   |   <A href="http://www.ofre.com/industrynews.php" class="red" title="OFRE Industry News">Industry News</A>   |   <A href="http://www.ofre.com/userfeedback.php" class="red" title="OFRE User Feedback">User Feedback</A>   |   <a href="http://www.ofre.com/extras.php" class="red" title="OFRE Extras">Extras</a>   |   <a href="http://www.ofre.com/contactinfo.php" class="red" title="OFRE Contact Information">Contact Info.</a>   |   <a href="http://www.ofre.com/ofrenews.php" class="red" title="OFRE News">OFRE News</a>   |   <a href="http://www.ofre.com/as_seen_in.php" class="red" title="OFRE As Seen In">As Seen In</a>   |   <a href="http://www.ofre.com/sponsorships.php" class="red" title="OFRE Sponsorships">Sponsorships</a>   |   <a href="http://www.ofre.com/testimonials.php" class="red" title="OFRE Testimonials">Testimonials</a>   |   <a href="http://www.ofre.com/sitemap.php" class="red" title="OFRE Site Map">Site Map</a>
Any thoughts???
http://www.ofre.com
Once you visit the site, when you hover over a link I've applied color changes. However, once you visit a particular page, if you hover your mouse over that page's link, the color change doesn't seem to work. Here's my CSS:
<style type="text/css">
html
{ font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: small;
font-weight: normal;
color: #000000 }
td
{ font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9pt;
font-weight: normal; }
a.red {color: blue; font-weight: bold; text-decoration: none; padding-left: 3px; padding-right: 3px}
a:hover.red {color: #990000; font-weight: bold; background-color: #FFFF66; padding-left: 3px; padding-right: 3px}
a:visited.red {color: blue; font-weight: bold; text-decoration: none; padding-left: 3px; padding-right: 3px}
a { text-decoration: none; color: blue}
a:hover { text-decoration: none; color: #990000}
a:active { text-decoration: none; color: #FFFFFF }
a:visited { text-decoration: none; color: blue }
</style>
And then here's the code that I use on the menu in question:
<a href="http://www.ofre.com/aboutus.php" class="red" title="OFRE About Us">About Us</a>   |   <a href="http://www.ofre.com/searchlistings.php" class="red" title="OFRE Search Listings">Search Listings</a>   |   <a href="https://www.ofre.com/addlisting.php" class="red" title="OFRE Add Listing">Add Listing</a>   |   <a href="http://www.ofre.com/hotlist.php" class="red" title="OFRE Hot List">Hot List</a>   |   <A href="http://www.ofre.com/ofrenewslettersmain.php" class="red" title="OFRE Newsletters">Newsletters</A>   |   <A href="http://www.ofre.com/industrynews.php" class="red" title="OFRE Industry News">Industry News</A>   |   <A href="http://www.ofre.com/userfeedback.php" class="red" title="OFRE User Feedback">User Feedback</A>   |   <a href="http://www.ofre.com/extras.php" class="red" title="OFRE Extras">Extras</a>   |   <a href="http://www.ofre.com/contactinfo.php" class="red" title="OFRE Contact Information">Contact Info.</a>   |   <a href="http://www.ofre.com/ofrenews.php" class="red" title="OFRE News">OFRE News</a>   |   <a href="http://www.ofre.com/as_seen_in.php" class="red" title="OFRE As Seen In">As Seen In</a>   |   <a href="http://www.ofre.com/sponsorships.php" class="red" title="OFRE Sponsorships">Sponsorships</a>   |   <a href="http://www.ofre.com/testimonials.php" class="red" title="OFRE Testimonials">Testimonials</a>   |   <a href="http://www.ofre.com/sitemap.php" class="red" title="OFRE Site Map">Site Map</a>
Any thoughts???