Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS document.height problem

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #35085
    tiagoroldao
    Member

    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?

    #90355
    Mottie
    Member

    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.

    #90362
    tiagoroldao
    Member

    I was using Chrome 11, auto update was giving an error and i never noticed.

    in v15 is ok.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.