>800 x 600 resolution as min.
>Ideally the layout would be centered so it scales better visually.
> >How do you do a css 2 column layout with header and footer, with the 2nd
> >column auto-stretching
>
> By using a css table (not supported by IE).
>
> Alternative methods are rare, Google for "fauxcolumns" for a hack
That is not very clever, IMHO.
> The only other IE compatible method I'm aware of requires kicking IE6
> into quirks mode.
It is not that hard. Changed my old example little:
http://www.student.oulu.fi/~laurirai/www/css/examples/float2col.html
That example has been there for ages, I only added footer and removed
width.
It can be done much simpler, this is complicated one, because it answers
to question how to get border between columns, and it works in IE5...
(whiout either requirement, it is quite clean solution, but does require
one extra element, or some tricks.)
> >Ideally the layout would be centered so it scales better visually.
IMHO, that is not good idea.
> Layouts should adapt to the available viewport width, rarely is it
> appropriate to try and prevent that from happening, use max-width for
> those rare cases.
And use max-width only for stuff that really benefit from it. Like
paragraphs. Add you use bigger value than you think it is best, as there
is differences between people, and there is no proof that short column
are easier to read, when difference is huge. (there is studies about
subject somewhere in internet, I think I have seen 2 at least.)

Signature
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Utrecht, NL.
Dan V. - 25 Feb 2005 17:27 GMT
This looks good in IE 6 and Firefox 1.0 - which I do most of my testing with
as they have a lot of market share.
I kind of forget about IE 5 as I am new and I want to know the basics before
any hacks.
If I use this code (with thanks) how can I have the content in the 2nd
'column' stretch only to say 700 px max. (Max-width is the only way that I
am aware - but I don't know how many browsers support this for a div.)
Some of the content will look 'silly' if it stretches past 1024 x 768
resolution.
I guess I could assume people won't choose silly widths..?
> > >How do you do a css 2 column layout with header and footer, with the 2nd
> > >column auto-stretching
[quoted text clipped - 32 lines]
> are easier to read, when difference is huge. (there is studies about
> subject somewhere in internet, I think I have seen 2 at least.)
Lauri Raittila - 25 Feb 2005 19:59 GMT
> I kind of forget about IE 5 as I am new and I want to know the basics before
> any hacks.
That's not bad idea at all. As I said, the example is old. Nowadays I
wouldn't care about IE5...
> If I use this code (with thanks) how can I have the content in the 2nd
> 'column' stretch only to say 700 px max. (Max-width is the only way that I
> am aware - but I don't know how many browsers support this for a div.)
max-width is supported quite well, if it is supported. IE don't support
it, but there is work around. Google for max-width for ie
You don't want to limit it to 700px
> Some of the content will look 'silly' if it stretches past 1024 x 768
> resolution.
People that run their browser in over that size often use bigger font
size too. So use something like max-width:60em;
If you have mixed content (images and text), only apply max-width to
text. I have seen far too many times that floated images are forced to
too small space, and other way around, because using incompatible units.
> I guess I could assume people won't choose silly widths..?
That is not bad idea either.
[FU deleted. Don't top post.]

Signature
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Utrecht, NL.