CSS Rollover Problem in IE |
CSS Rollover Problem in IE |
Dec 3 2006, 02:58 PM
Post
#1
|
|
![]() gazette.cassis ![]() ![]() ![]() ![]() Group: Member Posts: 236 Joined: Dec 2004 Member No: 73,433 |
I'm having some trouble getting the Rollover to work in IE. Whenever I hover on it, it moves and if you slide it, the rollovers don't stay in one place and shift up/down. It works fine in Firefox.
Here's my code QUOTE div.nav a { display: block; padding: 5px; width: 150px; background-color: #31495D; margin-bottom: 3px; text-align: left; } div.nav a:link,.nav a:visited, div.nav a:active { display: block; padding: 5px; width: 150px; background-color:31495D; text-decoration: none; margin-bottom: 3px; } div.nav a:hover, { display: block; padding: 5px; width: 150px; background-color:000000; color:485A68; text-decoration:none; margin-bottom: 3px; } QUOTE .nav { background-color:transparent; overflow:auto; width: 150; position:absolute; z-index:2; left:65%; top:0%; margin-left: -30px; margin-top:480px; text-align:left; visibility:visible;} Thanks in advance. |
|
|
|
![]() ![]() |