> I'm trying to use CSS rather than a table. I've got content that I
> would normally place in a 3-col, 1 row table. Instead, I wanted to
[quoted text clipped - 17 lines]
> Neither of these gives me the effect I'm looking for (as a table
> would).

Signature
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
> What effect are you looking for? Something like
> <http://cfaj.freeshell.org/testing/xx2.html>, perhaps?
That was useful, I have a similar but not quite the same problem.
Old style markup, set the table width to 100%, set the left column to
200 pixels, set the right column to 100%, right column is expanded to
take the available space.
How do I do this in CSS?
Especially when ie has a broken box model?
I'm wondering about using javascript to set div widths after page load,
but that looks really messy visually as the page loads and then
re-renders itself.
But it does mean that sniffing the browser and calculating element
widths myself according to viewport dimensions lets me fix the ie box
model issues that affect other parts of the document too.
Denis
dorayme - 09 Jul 2008 04:20 GMT
> > What effect are you looking for? Something like
> > <http://cfaj.freeshell.org/testing/xx2.html>, perhaps?
[quoted text clipped - 6 lines]
>
> How do I do this in CSS?
I recall messing about with various three col designs and this is still
at:
<http://netweaver.com.au/threeCols/fixed_both_sides.html>
Perhaps it might be useful to you?

Signature
dorayme
dorayme - 09 Jul 2008 07:13 GMT
In article
<doraymeRidThis-F6E014.13203309072008@news-vip.optusnet.com.au>,
> > > What effect are you looking for? Something like
> > > <http://cfaj.freeshell.org/testing/xx2.html>, perhaps?
[quoted text clipped - 13 lines]
>
> Perhaps it might be useful to you?
Sorry, it was 2 cols you wanted. Here is one experiment out of many:
<http://dorayme.890m.com/alt/twoCol.html>
It was an attempt to make a border between the left col and the main
that would not depend on the length of the content of either col, the
borders overlap guaranteeing a satisfactory divide. You can experiment
by filling either col to get the height advantage.
Of course, it does not solve every problem that can come up in practical
use.

Signature
dorayme
Bergamot - 09 Jul 2008 04:46 GMT
> Old style markup, set the table width to 100%, set the left column to
> 200 pixels, set the right column to 100%, right column is expanded to
> take the available space.
>
> How do I do this in CSS?
Run of the mill 2-column layout. There are oodles of templates out
there. Did you look?
> Especially when ie has a broken box model?
It's only broken if you use a DOCTYPE that triggers quirks mode. IE5
always runs in quirks mode, of course, but who cares?

Signature
Berg