I have 4 divs. All of them float:left; For example, they can be:
[div id=1][div id=2][div id=3][div id=4]
or
[div id=1][div id=2][div id=3]
[div id=4]
In the second case the last div is put next line as there is no space for it in parent. How can I check if div with id=4 is next line. Pure js or jQuery. Please, help.