Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

A:hover color not recognized


Guest

Recommended Posts

Posted

I'm sure this is something simple and stupid, but I needed to toss it out here anyway to see if anyone has had this problem before. Searching the forum for this doesn't work well because so many unrelated things come up.

 

Anyway, my A:hover color is not showing up, no matter which color I choose - it just stays bright green. I've tried deleting it and rewriting it, changing the color, changing the line (this works - if I change to underline or overline or whatever, this will show up when I refresh, but color does not).

 

I really don't want to have my links be this stupid lime green; it doesn't match at all. I've worked with CSS a lot in the past, and can't for the life of me figure out why this one class doesn't work. Any ideas?

 

j

Posted

It's the order in which the links are listed in the stylesheet, but my brain has gone on holiday and I can't remember what the order is.

 

Vger

Posted
It's the order in which the links are listed in the stylesheet, but my brain has gone on holiday and I can't remember what the order is.

 

Vger

 

:shifty:

 

Please take care to list the styles for the links in your stylesheet in the right "LoVe HAte" order:

:link

:visited

:hover

:active

or it won't work

 

http://www.oscommerce.com/forums/index.php?s=&...ndpost&p=717278

Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux

Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management)

Posted

yeah, I'm pretty sure it's link, visited, hover, active. Just odd that I can change anything else about it - size, weight, underline - but the color never changes.

 

(sorry to repeat you - I was writing as you posted :))

Posted

In case anyone else ever happens to have this problem, here's the solution I found:

 

My host had a shoddy CSS file linked to my site through their 404 page. Create a custom 404 page by creating an .html file with your custom 404 page and save it to your top level directory as something like error404.html. Then add or modify your .htaccess file with the line

 

ErrorDocument 404 /error404.html

 

where the /error404.html is whatever you decide to name your page. Upload, test it by going to a link you know doesn't exist, and you're done. This may also cure secure/nonsecure items popups.

 

j

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...