Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50080

[Tables] Different number of rows per column

$
0
0
Don't jump too easy on conclusions: I searched a lot and all answers were somehow like "use rospan/colspan" with the obvious tables of menus or calender...

What I need is that a table has 4 equal cells in the first column and 3 equal ones in the second column (of course, both columns having the same height).

I tried
Code:

<tr>
  <td rowspan="3">Cell 1:1</td>
  <td rowspan="4">Cell 1:2</td>
 </tr>
<tr/>
<tr>
  <td rowspan="3">Cell 2:1</td>
</tr>
<tr/>
 <tr>
  <td rowspan="3">Cell 3:1</td>
</tr>
<tr>
  <td rowspan="4">Cell 2:2</td>
</tr>
<tr/>
 <tr>
  <td rowspan="4">Cell 4:1</td>
 </tr>
<tr/>
 <tr>
  <td rowspan="3">Cell 3:2</td>
 </tr>
<tr/>

The trouble is that cells 1:1 and the 2:1 correspond in height to cell 1:2, which should not be the case in the case of equal size.
Any ideas of improving it?

Viewing all articles
Browse latest Browse all 50080

Latest Images

Trending Articles



Latest Images