Css: Different height values between browsers

$("#someId").outerHeight()  returns different values in FF and Chrome.
I have both browsers at Ctrl-0 (default size).
What other variables are there, given both are rendering the same page with the same code?
renisenbbAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
The different browsers have different default padding and margins for HTML elements.  Eric Meyer came up with a 'CSS reset' which is used to set as many things to 0 as possible so you can follow it up with values that will be more predictable from browser to browser.  http://meyerweb.com/eric/tools/css/reset/
0
 
Manuel FloresConnect With a Mentor Commented:
Try this;

$(window).load(function() {
    setTimeout(function() {
        // all the logic goes here
    }, 1);
});
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.