By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,723 Members | 1,655 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.

dumb question....

P: 2
when you have 2 (or more) divs floating beside each other - is there a way for them to take on the height of whichever is longer similar to the way a table cell would resize itself ? I have white space and grey space on my page and the content in each varies by page but Id like them always to be the same length regardless of what is in there.
Feb 20 '07 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 1,892
when you have 2 (or more) divs floating beside each other - is there a way for them to take on the height of whichever is longer similar to the way a table cell would resize itself ? I have white space and grey space on my page and the content in each varies by page but Id like them always to be the same length regardless of what is in there.
Why don't you wrap them both in a div and make the height of the div 100% then make both cells height 100%. I may be able to work up an example if you need one.

HTH,
Aric
Feb 22 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.