Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
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.
1 Answer
- Anonymous1 decade agoFavorite Answer
try this instead
<div style="width: 100%;"></div>