Log in

View Full Version : Help with CSS Fluid design but not 100% width



gwmbox
02-01-2008, 11:57 AM
Hi guys

Had a look at the CSS Templates at

http://www.dynamicdrive.com/style/layouts/category/C9/

and in particular

http://www.dynamicdrive.com/style/layouts/item/css-liquid-layout-21-fixed-fluid/

But what I want to know is how do I get the same fluid main content area (right side) but restrict the overall page width to a max-width or even a percentage - like 90%?

Thanks

Medyman
02-02-2008, 02:24 AM
If you're using the same class/id names, just add this to your CSS


#maincontainer
{
width: 90%;
}

replace the 90% with whatever percentage you want or with pixels etc...