Div Width (question on HTML editing)?

I have two divs next to each other, the one on the left with an image in it, the other with text in it. I want the one with text in it to expand to fill the rest of the page, no matter what size monitor people have.

I had assumed that I could simply use width="*" as I would in tables, but it doesn't work. If I set it to width="100%" it then starts at the 'left' that I set, and goes off the right hand side of the page.

Heeeeelp.

Anonymous2009-10-28T16:44:16Z

Favorite Answer

try this instead

<div style="width: 100%;"></div>