[thelist] Layout using tables

Sam Carter sam at nativeintelligence.com
Wed Sep 3 08:24:09 CDT 2003


Here's an HTML problem.

I have a table with two columns

      <table border="0">
        <tr>
          <td colspan="2">
            <h3>This is text that fills the width of the first row.... A
large paragraph of text.</h3>
          </td>
        </tr>
        <tr>
          <td valign="top">An image usually goes here.</td>
          <td valign="top"><p><b>Some short text here.</b></p></td>
        </tr>
      </table>

Using colspan="2" in the first row has the undesirable side effect of
making the width of the first column of the 2nd row as wide as possible.


What's the best way to work around this effect?

Sam




More information about the thelist mailing list