On 8/23/12, [email protected] <[email protected]> wrote:
> My first time trying CSS Tables, and I may have hit a wall. I'm very
> familiar with using HTML, and I guess I'm looking for something similar to
>
> HTML's 'colspan' in CSS. I've got an immense table with some rows spanning
> two
> columns. Most rows have two cells.
> So far, I can't find how to do this in CSS. Is it possible?
> Thanks.
> Bruce
---------------------
Bruce,
I don't think there is a CSS way to call out colspan. I do email
designs and it's always table based with inline CSS styling. I keep
everything in tables and never use 'colspan' as it doesn't render well
across different email clients.
If you nest the row that has more than one column in it's own table
you won't have a 'colspan' problem any longer. The simple html
structure below shows what I mean.
<table>
<tr>
<td>ONE CELL DATA</td>
</tr>
<tr>
<td>
<table>NESTED TABLE
<tr>
<td>COLUMN 1</td>
<td>COLUMN 2</td>
</tr>
</table>
</td>
</tr>
</table>
That should work.
Rod Castello
Email Designer
>
> ______________________________________________________________________
> css-discuss [[email protected]]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/