Previous Message
Next Message

IE6 choking on my menu

Sent by IChao on 25 February 2005 09:09


Erwin Heiser schrieb:
  > HTML at http://www.pixelsandtext.be/tests/menu.html
> CSS at  http://www.pixelsandtext.be/tests/menu.css

> Even the boxes don¹t get drawn properly and it goes nuts when you start
> mousing over the links.

Just a guess:

ul#menu li a img  {
             /* display: none; */
         }

would show the situation in IE6 before the positioning takes effect:

"The box's position is calculated according to the normal flow ... 
*Then* the box is offset relative to its normal position" (CSS2.1: 9.3.1).
Then: But IE expands the container for the image *before* the positioning.

Don't know if there is a method preventing the shrink/expand-wrap in 
this situation, or if there is a better solution with negative margining 
on floats possible.

A starting point could be:
ul#menu li a  {
             ...
             overflow: hidden;
         }

good luck!

Ingo


______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: