That makes it go underneath the left column.
Main Topics
Browse All TopicsI have a 2-column display. The left column is a navigation column and the right is content.
I have sized the width of the left column in 'em', so that it scales with font height when you zoom. This is good enough, because the navigation text zooms with the text when you Ctrl-[+]. The right column should take the remaining available space.
However, I can't figure out how to make the size of the right hand column take all of the available remaining space. The total width is not known (i.e. "liquid" layout) and using % takes the %age of the parent DIV. As thinks stand, by right column keeps dropping below the left nav, when my zoom is too high.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Maybe its is my lack of familiarity with CSS, but I'm uncomfortable with the idea that the left and right columns overlap and only by virtue of 'margin-left' is the right column's content kept out of the left's area.
It is more intuitive to have the right column's DIV 'float: left' and follow on from the left's. I have a solution with the approach above, but it feels wrong. Could I have done it with 'float: left' on the right column with automatic width? When I tried, it dropped the right column beneath the left.
Business Accounts
Answer for Membership
by: dachusaPosted on 2009-11-02 at 14:53:46ID: 25724630
try using width:auto on the right container