HighDots Forums  

nested div expand vertically

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss nested div expand vertically in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
dave
 
Posts: n/a

Default nested div expand vertically - 11-01-2003 , 11:03 AM






Sorry this has probably been asked a million times before.

I have a nested div and want it to expand vertically to fill its parent
div. It does it in IE6 but not Mozilla.

Height property doesnt seem to have any effect.

Is there a simple solution.

Thanks
Dave


Reply With Quote
  #2  
Old   
Christoph Paeper
 
Posts: n/a

Default Re: nested div expand vertically - 11-01-2003 , 09:14 PM






*dave* <sdfsd (AT) sdfsd (DOT) com>:
Quote:
Sorry this has probably been asked a million times before.
Have you searched the Google Groups archive then?

Quote:
I have a nested div and want it to expand vertically to fill its parent
div. It does it in IE6 but not Mozilla.
height: 100%;

plus paddings, borders and margins. Of course the parent's height has to be
known to be used as a percetage reference, otherwise it's treated like
'auto'.

Quote:
Height property doesnt seem to have any effect.
Is there code available where one can see what you're actually doing?

Quote:
Is there a simple solution.
Is that a question?

--
To the optimist, the glass is half full.
To the pessimist, the glass is half empty.
To the engineer, the glass is twice as big as it needs to be.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.