Html Table Display
This is what I want: +-----+-----+-----+-----+ | | | | | | | | | | +-----+-----+-----+-----+ | | | | | | | | +
Solution 1:
This is not a firefox rowspan
problem.
By default, the HTML is not in a position to handle because of equal number of rows, but different merges. One hack would be, using <col>
, giving a fake column and hiding.
<tablewidth="100%"border="1"><colgroup><col><col><col><col><colstyle="width: 1px;"></colgroup><tr><td> </td><td> </td><td> </td><td> </td><td> </td></tr><tr><tdcolspan="2"rowspan="2"> </td><td> </td><td> </td><td> </td></tr><tr><tdcolspan="2"rowspan="2"> </td><td> </td></tr><tr><td> </td><td> </td><td> </td></tr></table>
Giving a colgroup
and hiding the last col
will do.
Fiddle: http://jsfiddle.net/sK6GG/
Another perfect approach:
<tablewidth="100%"border="1"><colgroup><col><col><col><col><colstyle="width: 1px;"></colgroup><tr><td> </td><td> </td><td> </td><td> </td><tdstyle="display: none;"> </td></tr><tr><tdcolspan="2"rowspan="2"> </td><td> </td><td> </td><tdstyle="display: none;"> </td></tr><tr><tdcolspan="2"rowspan="2"> </td><tdstyle="display: block; width: 0px; visibility: hidden; border: 0;"> </td></tr><tr><td> </td><td> </td><tdstyle="display: none;"> </td></tr></table>
Post a Comment for "Html Table Display"