Content Width Size

3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 24, 2009   (RSS)

How can I limit the size on the content box to 750 pixels wide?

Thanks.

Re: [jasonbro] Content Width Size

By Kenny - February 24, 2009

There are several ways to do it with CSS such as:

body {
margin:50px 0px; padding:0px;
text-align:center;
}

#Content {
width:750px;
margin:0px auto;
text-align:left;
padding:15px;
border:1px dashed #333;
background-color:#eee;
}


or DIV tags using:

<div style="width:750px">CONTENT</div>

or with tables using:

<table border="0" cellpadding="0" cellspacing="0" width="750">
<tr>
<td>CONTENT</td>
</tr>
</table>


Let us know if none of these work for your situation and we'll try to get it figured out for you.

Kenny