Sent by Mat Colton on 2 December 2002 16:04
John Lewis wrote:
> Eric wrote on Saturday, November 30, 2002 at 12:30:42 AM:
> > #contain {
> > width: 99.9%; height: 100%;
> > padding: 0 0 0 0;\
> > }
>
> 100% width + 10px padding = wider than 100%.
> 80% height + 40px padding = taller than 80%.
Padding is included in height/width. IE doesn't get it though.
> That may be causing you problems.
>
> > <img src="spacer.gif" /> <!-- Keeps the header at a min height -->
>
> That's what min-height is for. :)
Which IE does not know about.
Try this:
<div style="width:20px; height:20px; float:left/right;"> </div>
Of course float must be either left or right.
--
Bye,
Mat
_______________________________________________
css-discuss [EMAIL-REMOVED]]
http://two.pairlist.net/mailman/listinfo/css-discuss
Sponsored by www.westciv.com - CSS resources | software | learning