Rob, to be honest, that is the solution I have gone for after much messing about trying various suggested solutions. Trying to do simple columns in css is just too complicated (perhaps why there are oodles of pages on the net about finding perfect column solutions).

The table solution is so much more reliable, robust, doesn't break, and does what it says on the tin. You don't have to worry about clearing problems either (which I was having because I had floated both columns but I also had a left floated navigation div to the left of that) or wrapping problems.

Someone remind me what is wrong with doing this? I mean, floating divs to make columns is not actually what they are meant for anyway is it? In which case we are using them for the wrong purpose, which is exactly what the criticism of tables is.

Apologies if this comes over as a rant or upsets anyone. I am still using floated divs for design don't worry, but I think that there are times when tables for layout is still the best way to go.

Stephen

----- Original Message ----- From: "Rob Agar" <[EMAIL PROTECTED]>
To: "'CSS Discuss'" <[email protected]>
Sent: Tuesday, August 30, 2005 2:29 AM
Subject: RE: [css-d] Simple two columns


How do I stop col2 wrapping below col1 however when the
browser window is
shrunk down in size? (Has to work in IE).

<table cellspacing="0">
<tr>
<td class="col1">...</td>
<td class="col2">...</td>
</tr>
</table>

OK, I'm a green + knobbly troll.  But it would work, and it's simple...

Rob



--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.17/84 - Release Date: 29/08/2005

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to