I have three divs. Two divs should come side by side and the third one should come after it. The size of all the divs vary.
Structure of a div --
<div style="display:inline">
<table style="visibility:visible;width:100%;table-layout-fixed">
</table>
</div>
So if div1 is larger than div2, then div3 is coming below div2
---------------------------------------
-------------- ----------
Div 2
Div 1 ----------
----------
-------------- Div 3
----------
---------------------------------------
But if div1 is smaller than div2, then div3 is not coming immediately after div1 This is how it is aligning
---------------------------------------
-------------- ----------
Div 2
Div 1
--------------
------------- -----------
Div 3
-------------
----------------------------------------
I want it to be like the following --
---------------------------------------
-------------- ----------
Div 2
Div 1
--------------
--------------
Div 3
--------------
-----------
----------------------------------------