W3C home > Mailing lists > Public > www-html@w3.org > December 1999

RE: colspan doubt

From: Chris Wilson <cwilso@MICROSOFT.com>
Date: Thu, 23 Dec 1999 09:48:42 -0800
Message-ID: <C35556591D34D111BB5600805F1961B91D5CDCD1@RED-MSG-47>
To: "'Gabriel Rivera'" <gabrielrivera@ciudad.com.ar>, www-html@w3.org
Well, in theory:
<TABLE BORDER=1 width=100%>
<COL width="16.5%">
<COL width="16.5%">
<COL width="17%">
<COL width="17%">
<COL width="16.5%">
<COL width="16.5%">
<TR>
<TD COLSPAN="6">blah blah blah</TD>
</TR>
<TR>
<TD colspan=3>blah</td>
<TD colspan=3>blah</td>
</TR>
<TR>
<TD colspan=2>blah</TD>
<TD colspan=2>blah</TD>
<TD colspan=2>blah</TD>
</TR>
</TABLE>

However, this doesn't quite seem to balance correctly.  In Internet Explorer
5.0+, you can put 'style="table-layout: fixed"' on the TABLE, and then it
looks great.

-Chris Wilson

-----Original Message-----
From: Gabriel Rivera [mailto:gabrielrivera@ciudad.com.ar]
Sent: Thursday, December 23, 1999 9:23 AM
To: www-html@w3.org
Subject: colspan doubt


Hi:

I'm working with tables, and have a problem
How do I make this work??
This is the example:

<TABLE BORDER=0 width=100%>
<TR>
<TD COLSPAN="3">
blah blah blah
</TD>
</TR>

<TR>
<TD width=50% colspan=????>blah</td>
<TD width=50% colspan=????>blah</td>
</TR>

<TR>
<TD width=33%></TD>
<TD width=33%></TD>
<TD width=33%></TD>
</TR>

</TABLE>

Thanks a LOT.

- Gabriel.
Received on Thursday, 23 December 1999 12:49:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:40 GMT