468,537 Members | 1,603 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,537 developers. It's quick & easy.

CSS - using a: hover changes layout in IE ? Is this a known bug ?

is this a known IE bug/quirk ?

a not-very-complex web page with several <div>
( some of those <div> nested )
with navigation by menu links down the left and near the top

using CSS a:link and a:hover
to modify link color and background-color

running on WinXP SP2
all seems fine in Mozilla browsers and Opera 8.5

but in IE6 - hovering over a link *sometimes* changes the page layout
slightly by changing the margin of a different div in an unconnected
part of the page, with no obvious reason for this
removing all the a:link and a:hover rules from the CSS file
removes this quirk completely

admittedly it's a very small effect, but it just looks *amateurish*
when the page is viewed in IE...

thanks in advance :)
Oct 12 '05 #1
1 1216
fa********@false-account.net wrote:
is this a known IE bug/quirk ?

a not-very-complex web page with several <div>
( some of those <div> nested )
with navigation by menu links down the left and near the top

using CSS a:link and a:hover
to modify link color and background-color

running on WinXP SP2
all seems fine in Mozilla browsers and Opera 8.5

but in IE6 - hovering over a link *sometimes* changes the page layout
slightly by changing the margin of a different div in an unconnected
part of the page, with no obvious reason for this
removing all the a:link and a:hover rules from the CSS file
removes this quirk completely

admittedly it's a very small effect, but it just looks *amateurish*
when the page is viewed in IE...

thanks in advance :)


er...
I think I've "solved" it

I went back through the CSS and noticed that not all of the <div>
elements had a width: specified...

setting width: on all the elements...
er...
solved it...
:)
Oct 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Ben Jessel | last post: by
12 posts views Thread by Alan J. Flavell | last post: by
24 posts views Thread by fehays | last post: by
7 posts views Thread by Cate Archer | last post: by
8 posts views Thread by Haines Brown | last post: by
1 post views Thread by darkzone | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.