My table weird after merge, i need someone explanation and opinion ! [For expert only] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

My table weird after merge, i need someone explanation and opinion ! [For expert only]

Look, i create table with 3 rows n 2 cols. Then i try to merge cell bbb and eee, and the result not what i expeted. It should be cell bbbeee will had half height of cell ccc, and cell ccc had height of cell bbbeee. This is the code : <br /> before merge cell bbb and eee <table border=2> <tr> <td>aaa</td> <td>bbb</td> </tr> <tr> <td rowspan=2>ccc</td> <td>eee</td> </tr> <tr> <td>ddd</td> </tr> </table> <br />after merge cell bbb and eee <table border=2> <tr> <td>aaa</td> <td rowspan=2>bbee</td> </tr> <tr> <td rowspan=2>ccc</td> </tr> <tr> <td>ddd</td> </tr> </table>

16th Oct 2016, 6:52 AM
Xdtiagonzhar Mach Vandillah
Xdtiagonzhar Mach Vandillah - avatar
1 Answer
0
<table border=2> <tr> <td>aaa</td> <!-- a few change here :) --> <td rowspan=2>bbb<br/>eee</td> </tr> <tr> <td>ccc</td> <!-- I removed td tag --> </tr> <tr> <!-- I added colspan and align for ddd --> <td colspan=2 align=center>ddd</td> </tr> </table>
16th Oct 2016, 5:25 PM
Hussein Hallafi
Hussein Hallafi - avatar