Forums

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

Home Forums CSS [Solved] Can’t figure out div positioning in IE

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27235
    looserdale
    Member

    Hi!
    I’m a total css newbie who’s looking for help.
    I’m working in a page http://www.fotografdaniel.se/textochreklamfinal
    and it’s looking good in FF and Safari but in IE all my divs seem to be thrown to the right like 500px.
    But it’s not constant 500px they’r just all over the place.

    So what I want is for someone to point me in the right direction regarding using divs for layout ’cause it just feels like I don’t get the basics.

    This is my css for div layout:

    Code:

    #page-wrap {
    margin: 15px 0 0 107px;
    width: 1000px;
    height: 804px;
    background: url(../images/bg.jpg);
    }

    #main-content {
    position: absolute;
    z-index: 1;
    margin: 150px 0 0 50px;
    width: 899px;
    height: 611px;
    }

    #main-nav {
    position: relative;
    z-index: 2;
    top: -40px;
    left: 40px;
    width: 815px;
    height: 70px;

    }

    #bilder {
    padding: 10px;
    overflow: auto;
    position: absolute;
    width: 390px;
    height: 440px;
    margin: -35px 0 0 450px;
    z-index: 4;
    }
    #text {
    padding: 10px;
    overflow: auto;
    position: absolute;
    width: 390px;
    height: 440px;
    margin: -35px 0 0 35px;
    z-index: 4;
    }

    Thanks.

    /Daniel

    *edit Spelling

    #68258
    looserdale
    Member

    Thanks!
    I really think you helped me solve it.

    /Daniel

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