I have some divs and I want to form a table style.
<div style="display: table;">
<div style="display: table-row;">
<div style="display: table-cell;">
left column
</div>
<div style="display: table-cell;">
right column
</div>
</div>
<div style="display: table-row;">
<div style="display: table-cell;background-color:yellow">
one column on this row
</div>
</div>
</div>
I need two columns on the first row , and one column on the second row, that is going to be full width, like we do colspan="2"
. But, can we do something like with with style?