I am trying to get a div to be centered AND to have a minimum-width of 630px. It should expand in width based on the size of the content.
For some reason it is taking up the full width of the page even though I have:
-
centered all content
-
set all divs within it to 600px width
-
have placed test content in it thats not so wide
Here are the relevant bits: http://jsfiddle.net/partisanentity/7KGRr/2/
The issue seems to be #imageholder ?
You can display:inline-block to your #content DIV. Write like this:
Check this http://jsfiddle.net/7KGRr/3/