Hi. Say I have a 2 column table, and both td tags on the top have background images.
I have another row, with one <TD> tag, colspan of 2. Now, how can I make the first column be just wide enough to support the text, while the other one stretches to fit the excess width the lower part takes up?
For you vision-oriented programmers (probably most of you in CSS are) out there, an example:
<table>
<TR>
<TD bgcolor=green>
Top left
</TD>
<TD bgcolor=red>
</TD>
</TR>
<TR>
<TD colspan=2>
Hello there, world! See what I mean? The left stretches, rather than the right. How can I fix it so the second column stretches, leaving the left column at its minimum width?
</TD>
</TR>
</table>
I have another row, with one <TD> tag, colspan of 2. Now, how can I make the first column be just wide enough to support the text, while the other one stretches to fit the excess width the lower part takes up?
For you vision-oriented programmers (probably most of you in CSS are) out there, an example:
<table>
<TR>
<TD bgcolor=green>
Top left
</TD>
<TD bgcolor=red>
</TD>
</TR>
<TR>
<TD colspan=2>
Hello there, world! See what I mean? The left stretches, rather than the right. How can I fix it so the second column stretches, leaving the left column at its minimum width?
</TD>
</TR>
</table>