The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › document.height problem
Hi guys, i’m having a little problem in Chrome.
Check this page: nunopiscinas(.com)
I’m using the bottom bg in body and the bg top in another div.
and this to apply the correct height in body overlay = $(document).height() + 50; $(‘body’).css(‘height’,overlay);
In chrome (only in main page), the body apeears bigger than the others browsers.
Anyone know why?
Hmm, maybe it’s because every browser has different css defaults. Try resetting your css or setting all padding and margins to zero and see if the problem persists.
I was using Chrome 11, auto update was giving an error and i never noticed.
in v15 is ok.