Forums

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

Home Forums CSS What happen with MARGIN

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #38216
    lester
    Member

    HTML





    Please Login Here!









    Testing





    CSS

    #wrapper{
    width: auto;
    min-width: 1024px;
    height: auto;
    min-height: 768px;
    }

    #loginContainer{
    width: auto;
    min-width: 1024px;
    height: 425px;
    border-top: 2px dashed #c2d2d7;
    border-bottom: 2px dashed #c2d2d7;
    margin-top: 50px;
    }

    Problem:

    The wrapper moved down by 50px.

    #103476
    Paulie_D
    Member

    You probably need to add ‘overflow:hidden’ to the wrapper css.

    The problem, I believe is that the wrapper doesn’t have a specified height and so the ‘margin has nothing to push against except the whole ‘page’…or something like that.

    #103491
    lester
    Member

    But won’t the min-height set a “fixed” height already??

    #103492
    lester
    Member

    Btw, overflow hidden works tks!

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