|
Tailslide -> RE: Problems with 3 column layout -level columns (1/8/2008 5:58:05)
|
Hi Phil Yes the background colour will only extend as far as the content. The way around it is it use Faux columns - which sounds, at first like a bit of a faff - but actually it's quite straightforward. Here's an article on the subject: http://www.alistapart.com/articles/fauxcolumns/ Basically, instead of giving the sidebar a background colour, you give the div containing the sidebar and the main content (or the main content div if that contains the sidebar) a background image which is a thin strip of red to the right width, repeating vertically behind the sidebar. So what you end up with is the effect of having equal columns as the background image will expand to the full height of the main div whatever that is. I use this technique on virtually every site I do.
|
|
|
|