Is your set to width:100% and have you got a reset. css or normalize.css in your stylesheet?
It looks like it should be OK but (assuming you are also writing the HTML) you could add in a div id="main-wrap" to contain everything else and change the css to:
body {width:100%} #main-wrap {width:980px; margin 0 auto; color:#333;}
i want to set my page width to 980px (for 1024x768 resu.)
i use this codes in css:
body
{
margin: 0 auto;
width: 980px;
color:#333333;
}
but i think IE browser set width more than what i certain.
like this:
chrome (correct) :http://up.birfun.com/uploads/13420064051.jpg
IE(incorrect):http://up.birfun.com/uploads/13420064072.jpg
It looks like it should be OK but (assuming you are also writing the HTML) you could add in a div id="main-wrap" to contain everything else and change the css to:
body {width:100%}
#main-wrap {width:980px; margin 0 auto; color:#333;}
but i'm realy thanks you mr.simoncmason and senff.