+ 2

<td><br /></td> here <br /> what is doing ?

23rd Jul 2016, 3:13 AM
Dev_140897 - avatar
3 Answers
+ 3
It's a linebreak instead of content to make table cells (<td>) visible. Try it in the Playground with and without <br>.
23rd Jul 2016, 9:51 AM
ZinC - avatar
+ 1
To see the effect of <br> you need to remove both <br> in the 2nd row of the table. Without it the cell size will shrink (no content) whereas with <br> the cell size will be kept (as if there were content). However only removing one <br> the cell size will still be larger from the call from the other column in the same row since the cell widths are constant across the row.
20th Aug 2016, 4:37 PM
- 2
24th Jul 2016, 10:02 AM
Rejon - avatar