Adding fluid width
At first glance, this seems to be amongst the easier things that you can do.
All you need to do is to change the “width: 760″ to “width: 60%” and you’re done although it’s best to change the width of the sidebars to 20% too.
The problem is that we’re using a full page background image and the text now flows all over it. As you can see from the image here, the sidebar text is unreadable.
There are several ways to correct this:
- change the image either by selecting a new one or manipulating the current one;
- change the colour of the sidebar text;
- put a solid background colour behind the sidebar; or
- reduce the width of the main column.
For simplicity, we’re going to go for the last option at the moment and reduce the width from 60% to 40% which restores the look to that of the fixed width version.
Copyright © 2008 by SevaTeem Ltd. All rights reserved.