Previous Message
Next Message

Collapsing <dl> in IE when including a hyperlink

Sent by Gunlaug_Sørtun on 15 February 2006 15:03


Karl Dawson wrote:

> I can make the problem go away by removing the background-color 
> property from the hover state and although I don't quite follow 
> what's being said (I have a pixel width margin) this appears to be 
> related to the "Quirky Percentages in IE6's Visual Formatting Model" 
> bug over at Positioniseverything - am I right?

I don't think so, but I'm not sure of anything here.
The way IE re-render links on hover is involved, but I can't remember
any real fix.

> If anyone can offer a solution to add to my IE-only CSS file or 
> simply advocate not using the background-color it would be much 
> appreciated :-)

> http://www.thatstandardsguy.co.uk/examples/example.html

Conditional solution:
If that image-placeholder shows the actual height of every real image,
then you can change the...
* html dl.feature {height:1%;}
....to...
* html dl.feature {height: (exact value in px here);}
....which will stabilize it somewhat in IE/win since the dl can't be
shorter than the set height, which IE6 will interpret as 'min-height'.
Won't work in IE7, so I hope they will include a working 'CSS min-height'.

BTW: no need to work around IE/Mac in that stylesheet, as that browser
can't see what's inside a 'conditional comment' linked stylesheet anyway.

regards
	Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
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:

Possibly related: