The second floating div in chrome clears down before first div The second floating div in chrome clears down before first div google-chrome google-chrome

The second floating div in chrome clears down before first div


  1. The HTML and CSS would be useful to answer this.

  2. If you have just two divs and you want them to float next to one another, then set a width on each of them and float one left and float the other right. Remember to leave some space in between the two.


in my case i use display:inline-table for the parent element of the floated elements.. Even if it is not a table.

I used the display:inline-table in order to fix the bug that google chrome had encountered..


I've same issue in Chrome and I solve it by giving display:inline-table to parent div