SV: [thelist] HTML Layout

Marcus Andersson marcan at home.se
Tue Dec 16 04:07:05 CST 2003


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

Yeah, yeah, I know the difference, just didn't separate the terms...

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
>     "http://www.w3.org/TR/html4/strict.dtd">
> <html>
> <head>
> <title>Foo</title>
> <style type='text/css'>
> /* External <link>ed sheet preferred! */
> #header { height: 20px; }
> </style>
> </head>
> <body>
> <div id='header'><!-- header --></div>
> <!-- rest of the browser (well - not really, but it looks 
> that way) --> </body> </html>
> 

Perhaps I wasn't all that clear. I want the second row to get a
scrollbar if the content overflows apart from being the rest of the
browser screen.

/Marcus



More information about the thelist mailing list