W3C home > Mailing lists > Public > www-style@w3.org > August 2006

Re: div style question

From: Jens Meiert <jens.meiert@erde3.com>
Date: Mon, 28 Aug 2006 18:02:32 +0200
Cc: www-style@w3.org
Message-ID: <20060828160232.26180@gmx.net>
To: rod082@yahoo.com

> hello please can u help me

Better use "css-discuss" [1] and stuff for questions like this.

> how can i assigned a dynamic height for a div element. i have the
> following case:  <div id="div-left">left side</div> 
> <div id="div-center">center</div>  <div id="div-right">right side</div>
> div-center height changes dynamically depending on the content . so I
> want to know how to make div-left and div-right heights the sane as
> div-center.

Principally, you could solve this via "div { display: table-cell; }", but due to missing support in Internet Explorer, Dan Cederholm's "Faux Columns" [2] might present a more practical solution to you.

By the way, check your ID names (and class names, presumably) [3].


[1] http://www.css-discuss.org/
[2] http://www.alistapart.com/articles/fauxcolumns/
[3] http://www.w3.org/QA/Tips/goodclassnames


-- 
Jens Meiert
http://meiert.com/

Webdesign mit CSS (O'Reilly, German)
http://meiert.com/cssdesign/
Received on Monday, 28 August 2006 17:32:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:46 GMT