xHTML/CSS: How to make inner div get 100% width minus another div width

The mysterious overflow: hidden; is your friend here. It stops elements adjacent to floats from extending behind the float — I think that’s the layout you’re looking for. Here’s some slightly edited HTML: I don’t think you can have # characters in your ids: <div id=”outer”> <div id=”inner1″> inner div 1. Some text… </div> <div … Read more