Go Back   SitePoint Forums > Forum Index > Design Your Site > Web Page Design > CSS
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old Sep 7, 2005, 02:13   #1
selesti
SitePoint Enthusiast
 
Join Date: May 2005
Posts: 28
CSS Image Rollover problem?

I'm doing CSS rollovers on one image, where the rollover state is on the same image but not shown unless the hover state is on.

Like so:
Code:
#nav-test { 
	position: absolute; 
	left: 240px;
	top: 10px;
	height: 12px; 
	width: 88px; 
	overflow: hidden; 
	background: url(images/btn_test.gif) top left no-repeat; 
	display: block; 
} 
  
#nav-test:hover { 
	background-position: bottom left; 
}
For some reason, the rollover doesn't work in IE?! But does in FF, it does work as a link though.

Anyone got any ideas what I'm doing wrong?
selesti is offline   Reply With Quote
 

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 01:25.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved