Okey dokey, I have a jQuery function that checks the height of 2 divs floating beside and applies a background color to the parent element depending on which is taller, it would work perfectly except Chrome does not return the right height when using the jQuery .height() method. I have already applied a reset stylesheet. If you go to this link: http://miami.sightofnick.com/balanced/ , you will see an example of what I am talking about. There is a debug box in the corner; also try using a dew different browsers, it works in everything except chrome. Basically, how do I fix/work-around this?
Okey dokey, I have a jQuery function that checks the height of 2 divs
Share
This is not a problem with
height()in chrome.Check working example at http://jsfiddle.net/vHLGg/11/
Other things are affecting this behavior. If you have
overflow:hidden. That could be the problem.