Previous Message
Next Message

Re: [css-d] Re: How to get 100% height column?

Sent by Chris Cassell on 27 February 2002 11:11


>  > Some testing showed that this does not work in Mac IE 5 or 5.1.
>>
>  > The column will shrink in size if the browser width is narrowed.
>     I'd be interested in any other Mac users providing feedback, as well.

I cleaned up the css, removing the position: absolute, 
layer-background-color, and padding, as well as adding a 
standards-triggering doctype, and the height of the test div was in 
fact dependant on the width of the browser window in IE 5.1 mac.

>  I seem to recall that height is somehow related to width...

As far as height being related to width, absolutely positioned 
elements with a percentage value for top are positioned based on the 
width of the element. Same goes for margins and padding when declared 
with percentages; they're a percentage of the element width. I'm not 
sure where in the spec this is stated, but that's the way it actually 
works.



-- 
===========================
http://www.chriscassell.net
Previous Message
Next Message

Message thread:

Possibly related: