Hiring CSS Expert

Status
Not open for further replies.
8 comments
+ the maximum width of the page ;) otherwise it will not work correct :)

It still won't. What this code will do is give the entire body 1000px width and thus the black background won't show throughout the page.

What he needs here is to use a div tag to wrap the content and then center the div.


So here goes...


HTML
Code:
<body>
<div id="wrapper"> <!--Your wrapper div. Begin after body ends-->

<!--Site Content Here-->

</div> <!--Wrapper div ends before body tag ends-->
</body>

CSS
Code:
#wrapper
{
width:1000px; /*Or whatever your content width is*/
margin:0 auto;
}

@OP If you still can't fix it, link me to your site.
 
Status
Not open for further replies.
Back
Top