Nicole Aebi wrote:
> Thanks for that. I could have sworn I hadn't specified a height - 
> it's amazing what you miss when you're looking really hard!

Tell me about it... :-)

> Quick question about the * html bit, if that's OK. What's that doing 
> exactly?
> 
> * html .content { overflow: visible; }
> 
> In the .content I've added overflow: hidden, but here we're saying 
> overflow: visible.
> 
> Is that a bug fix or something? I can't find reference to it in my 
> books.

It's a bug fix, with a 'star html' hack to target only IE versions prior 
to IE7 (and IE7 in quirks mode).

The regular 'overflow: hidden' is meant to make the container expand by
establishing a new 'block formatting context'[1].
- Works as intended in new, standard compliant, browsers.
- IE6 falls back on its 'hasLayout'[2] bug, and actually ignores the
'hidden' part.
- Older IE/win will see 'hidden' and no height, and this combination may
make them hide the entire content-container. This is the last thing we
want, I guess, so the fix is for older IE5.x/win in case one should
happen to pass by.

regards
        Georg

[1]http://www.w3.org/TR/CSS21/visuren.html#q15
[2]http://www.satzansatz.de/cssd/onhavinglayout.html
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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/

Reply via email to