Making center column stretch length of left column

17 views
Skip to first unread message

Derek

unread,
Oct 30, 2009, 10:39:11 AM10/30/09
to Blueprint CSS
I have a 2 column + header and footer. I have a problem where the left
column is longer then the center column and they both have different
background colors so the center column stops short. How can I make it
stretch to the footer? And vice-versa with the left column if need be.

Christian Montoya

unread,
Oct 31, 2009, 3:09:04 PM10/31/09
to bluepr...@googlegroups.com


Create a background images that is about 20 pixels high and 950 pixels
wide. Make the left part the color of the left column and the right
part the color of the right column. Apply this background image to the
.container that wraps these two columns. That's what we call the "Faux
Columns" method.


--
--
Christian Montoya
mappdev.com :: christianmontoya.net

Derek

unread,
Nov 2, 2009, 8:22:47 AM11/2/09
to Blueprint CSS
Problem is that the site is customizable by the user and they can
change background colors of the columns.

Goulven CHAMPENOIS

unread,
Nov 2, 2009, 11:46:47 AM11/2/09
to bluepr...@googlegroups.com
In that case, you need to use modern CSS trickery like display: table-cell. But that won't work in IE6, 7 or 8.

On Mon, Nov 2, 2009 at 2:22 PM, Derek <d...@bowesmail.com> wrote:

Problem is that the site is customizable by the user and they can
change background colors of the columns.

> Create a background images that is about 20 pixels high and 950 pixels
> wide. Make the left part the color of the left column and the right
> part the color of the right column. Apply this background image to the
> .container that wraps these two columns. That's what we call the "Faux
> Columns" method.
--
Goulven Champenois

Christian Montoya

unread,
Nov 2, 2009, 2:41:29 PM11/2/09
to bluepr...@googlegroups.com
On Mon, Nov 2, 2009 at 8:22 AM, Derek <d...@bowesmail.com> wrote:
>
> Problem is that the site is customizable by the user and they can
> change background colors of the columns.
>

Ah yes, that is a different problem. The answer is in the technique
used by Skidoo, but this would require you using the Skidoo method for
laying out your columns and not Blueprint. The secret is borders and
negative margins.

http://webhost.bridgew.edu/etribou/layouts/skidoo/

Reply all
Reply to author
Forward
0 new messages