Hi Guys
Please see:
http://www.highlycreative.co.uk/test...uts/test11.htm
If I want the main text content to take up a fixed width within the main 100% div, what technique should I use?
What fixed width is it best to use?
Thanks
| SitePoint Sponsor |


Hi Guys
Please see:
http://www.highlycreative.co.uk/test...uts/test11.htm
If I want the main text content to take up a fixed width within the main 100% div, what technique should I use?
What fixed width is it best to use?
Thanks


OK, so I've added a new div called textcontent and given it the following CSS:
#textcontent {
margin:0px auto;
width: 960px;
background-color: #FFCCCC;
}
Is that it? Is 960px the best width to use?
Thanks



Or, you might want to try {max-width:960px}. It narrows to fit the window width, too.
Different behaviors. Pick one that suits your fancy. There really is no "best".![]()
Bookmarks