Html – setting minimum width of div

html

I have a page with many different objects of different widths. I am not setting the width of the div that the objects are within as I want it to be able to expand to include whatever items are within it. But I do want the div to have a minimum width. Is it possible to do this?

Best Solution

It is very possible. Just use CSS min-width. The MDN page has details.