Re: div style question

> 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 UTC