javascript - height computation with ie11 -


i have 4 divs, in 2x2, , height of 4th div calculated such:

4th.style.height = 2nd.offsetheight + 1st.offsetheight - 3rd.offsetheight.

the first 3 div's heights calculated based off of content.

in firefox , chrome, works expected. however, in ie 11 works sometimes. browser width increases (and heights of other divs change), line perfectly, , right column (divs 3 , 4) pushed down small amount. logged heights console, , changed browser size tiny amount toggling between working , not working, , log 4 heights stayed same?? prone think there rounding error going on here, quite confused.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -