123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|646|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Web Development -> CSS Hover Change Background Image not working...

Sun, 08 Jul 2007, 19:35
garand
I have no idea why this code is not working. Can anyone help me out? It is just the CSS file obviously.


Sun, 08 Jul 2007, 21:15
Stealth
Well, firstly, the hover thing doesn't work in IE 6 down. Not sure about IE 7.

Instead of writing it like:
#navHome a:hover

I would write it as
a.navHome:hover

And where ever you are using it just put:
id="navHome"
As well as:
class="navHome"

Without any way to test you code I don't really know. I'm not the best with CSS but thats my input.



-=-=-
Quit posting and try Google.
Sun, 08 Jul 2007, 23:50
garand
well.. i fixed it but now it has to load the images for every page and i dont want that. i would use an frame but i want the url to change when you change pages and with a frame it would stay at "https://www.krypton-media.com". any ideas?
Mon, 09 Jul 2007, 00:01
Stealth
Instead of CSS, use Javascript. That way you can preload the images.

-=-=-
Quit posting and try Google.
Mon, 09 Jul 2007, 02:20
svrman
Well the easy way would be to load all images on page load in a hidden div or other similar element.
"Display:none" or "visibility:hidden" might do it.

-=-=-
BlitzRSS script back online!