Clagnut

Menu

Minimum width

§ Web standards

A recent thread on css-d addressed the issue of assigning a minimum width to a box, for instance one might want to set a box width to be 60% (in a nice liquid layout) but want to stop it being less than 400px wide.

The CSS2 min-width property springs to mind as a solution, but isn’t supported by IE5.5, so here is a cross-browser solution.