Forums

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

Home Forums CSS some divs are shifting outside of page wrap and body when browser sicze decreased?

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #34289
    roncito
    Member

    * {padding:0; margin:0; }
    body {font: “Times New Roman”, “Times”, “serif”; background: url(images/background2.jpg)no-repeat center;}
    /*page wrap*/

    #wrap { width: 960px; margin:0 auto;}
    #container {
    background: url(images/container.jpg);
    width:1200px;
    height: 701px;
    position:absolute;
    top: 799px;
    left: 18px;
    }

    thanks?

    #87070
    sharief
    Member

    my be floating problem.. u probably not cleared the given floating values. that is the reason dives are shifting out of the wrapper. and check the wrapped end tag closing also.

    #87071
    sharief
    Member

    you may check ur css did u assign floated values use
    .cls{clear:both;}

    #87081
    roncito
    Member

    Thanks for the help.Ill look into it. Also I also find it confusing that my container size is bigger then my page wrap. but it seems that that it is the only way it holds shape? it should be the same.

    #87105
    roncito
    Member

    ok. thanks.
    Ill do it.

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