Changing background-color for links also changing dimensions.

The style in the header says that an a tag will change background color when hovered over.

In MSIE 6.02 this changes the height of the whole table, but in Firefox (NN8.1) it works just fine.

(ppkquestion: is this a hasLayout bug? If so, why does the bug also occur in IE 7 beta 2?)

Test page Workaround is not included
Reported by: D W.

(Orphaned), Explorer 5-6 Windows, Explorer 7 | Reported on 22 February 2006.

Atom RSS

This site heavily relies on bug reports created by its readers. Anyone can report a bug and be published.

Main navigation:




Search reports by browser:

Comments

(Add your own)

1 Posted by Tino Zijdel on 22 February 2006

"ppkquestion: is this a hasLayout bug? If so, why does the bug also occur in IE 7 beta 2?"

Because IE7 beta 2 doesn't fix all layout/rendering bugs (it even introduces some new ones - some also related to hasLayout); to me it looks as if they fixed some of the bugs related to hasLayout in a hacky kind of way instead of taking a more fundamental approach.
Probably the use of an internal datastructure such as HasLayout just isn't suitable (anymore) to cope with the complex CSS layout-model

2 Posted by Ingo Chao on 22 February 2006


<div class="hr"></div>

These constructs won't keep 1px height until there is some content in it:

<div class="hr"><!----></div>

A similar problem can be seen with "solid clearers" that are higher than expected.

Post a comment

Commenting guidelines:

  1. When quoting specs, articles or your own research, please include a URL of the document.
  2. Test your stuff. When reporting browser behaviour, make sure that your report is correct.

Yes