Arg! Css Problems In Ie

Discussion in 'Gaming' started by Blade7, Nov 12, 2006.

  1. Blade7

    Blade7 Well-Known Member

    Posts:
    197
    Likes Received:
    0
    Joined:
    Nov 28, 2005
    Guys I've been reading A LOT of webp ages about IE hacks.. but none of them are working for me. PLEASE SOMOENE HELP ME!
    My webpage is spreading to the max broswer width! I need to be within 800 px.

    Also, all these div's are inside my body so... I just need to put the code inside body { } and every div should be inside the 800px... i hope. At least that's what happens in Firefox.

    THanks A LOT guys!!
     
  2. Phili G

    Phili G Well-Known Member

    Age:
    33
    Posts:
    1,498
    Likes Received:
    0
    Joined:
    Oct 5, 2005
    Location:
    England!
    put
    <div id="wrapper">

    below <body>

    and
    </div>

    above </body>

    And in your CSS add

    #wrapper {
    width:800px;
    margin:auto; /*centres it*/
    }

    should work
     

Share This Page