View Single Post
Old 09-22-2017, 10:58 AM   #1
Ghitulescu
Fanatic
Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.Ghitulescu ought to be getting tired of karma fortunes by now.
 
Posts: 563
Karma: 403106
Join Date: Aug 2014
Device: PRS-T1
[Tables] Different number of rows per column

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?

Last edited by Ghitulescu; 09-22-2017 at 11:05 AM. Reason: wrong copy/paste
Ghitulescu is offline   Reply With Quote