By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,723 Members | 1,662 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,723 IT Pros & Developers. It's quick & easy.

nested div expand vertically

P: n/a
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

Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
*dave* <sd***@sdfsd.com>:

Sorry this has probably been asked a million times before.
Have you searched the Google Groups archive then?
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'.
Height property doesnt seem to have any effect.
Is there code available where one can see what you're actually doing?
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.
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.