[thelist] HTML Layout

David Dorward evolt at david.us-lot.org
Tue Dec 16 03:59:41 CST 2003

On 16 Dec 2003, at 09:56, Marcus Andersson wrote:

> I have to make a layout with either HTML4 Strict or XHTML1 Strict (I
> guess it's more or less the same rules...) and target browsers are IE6
> and later versions of Firebird.

Wrong tool, HTML is there to structure the document, not handle layout. 
Layout is the job of CSS.

> I think the layout should be done pretty easily but I haven't managed 
> to
> get it right. The spec is short:
> - One row (or box) that is 20px high and 100% wide
> - One row that fills the rest of the browser screen

<style type='text/css'>
/* External <link>ed sheet preferred! */
#header { height: 20px; }
<div id='header'><!-- header --></div>
<!-- rest of the browser (well - not really, but it looks that way) -->

David Dorward

More information about the thelist mailing list