Re: Header-body-footer control

Robin Pelgrim wrote:
> One of the most frustrating thing for me is (in strict mode) to create a 
> 'header-body-footer' control, with stretching body. Well it should be 
> easy, but in fact, by the css 2.1 content-box model, it is just 
> imposible to create such a control when using borders and/or margins, 
> padding (and without using javascript).
> Luckily the border-box model is back in css 3 and so I think its good to 
> have a testcase for this contol (keeping in mind that all newest 
> versions of the browsers are supporting css box-sizing).
>  
> So I think the following or similar test should be added (since IE7 (and 
> IE8)) do render it the wrong way...
>  
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
> <html style="width:100%;height:100%;padding:0px;margin:0px;">
> <body style="width:100%;height:100%;padding:0px;margin:0px;">
> <table cellspacing="0px" cellpadding="0px" style="width:100%;height:100%;">
>     <tr> ...
>     <tr style="height:100%;background-color:blue;"> ...

Hi Robin,

We can't actually add such a test yet because the behavior there
isn't defined in the specs. CSS2.1 actually forbids the behavior
you describe... so we may need to re-examine that in the working
group. I'll forward your message to www-style for discussion.

~fantasai

Received on Tuesday, 24 June 2008 19:53:27 UTC