In this example:
http://jsbin.com/anoyik/edit#preview
http://jsbin.com/anoyik/edit#source
How can I set the red box’s width to at least 200px and have it continue to expand in width as the browser window’s width is extended horizontally?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This should do it for you: http://jsbin.com/exunik/2
The thing that keeps the black red box from expanding is that you had it set to inline-block. I added a min-width to the red box and set it to display: block. Then I floated the red box to the left to cause the black one to move into place on its right.