How to collapse 2 row into 1 big <td> | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

How to collapse 2 row into 1 big <td>

like. name....sec.... .gender .............................. rahim.....b.........m ...................... .....c.........m ............................... hasan....d.........m ............................... the dots are the borders of the table

14th Nov 2016, 1:53 PM
Mashfique Alam
Mashfique Alam - avatar
1 Antwort
+ 2
Let's use rowspan attribute in HTML and vertical-align property in CSS. <td rowspan="2" style="vertical-align:top">rahim</td> The rowspan's value is the number of connection. If you want to unify cells in horizontal direction, use colspan attribute. <td colspan="3">header</td>
16th Nov 2016, 9:45 AM
FunctionEight
FunctionEight - avatar