Re: Box model: min-margin and max-margin, max-padding and min-padding

On Thu, 30 Sep 2004, Andrew Thompson wrote:
> 
> ---------------------
> | (1) Header        |
> ---------------------
> | (2) Content | (3) |
> |             |  S  |
> |             |  i  |
> |             |  d  |
> |             |  e  |
> |             |  b  |
> |             |  a  |
> |             |  r  |
> ---------------------
> 
> Insofar as I can tell, there's NO ideal way to do this in CSS. 

Make (1) display: table-row, and (2) and (3) display: table-cell, with the 
element containing all three (possibly the <body>) display: table with 
width: 100%.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 1 October 2004 10:27:37 UTC