Published in Brighton, UK

Clagnut

Minimum width

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.

24 April 2002

§ Web standards

2 comments

Next

Previous

Related posts

Keywords

Machine tags

Comments

  1. 1

    There is also a cool little script to do this at http://and.doxdesk.com/software/js/minmax.html written by Andrew Clover.

    Dickster
    24 Apr 2002
    04:28 GMT
  2. 2

    ?

    ?
    22 Apr 2004
    21:08 GMT

Add your comment

Comments are now closed on this post. If you have more to say please contact me directly.

Outside interest

Top Referrers

No referrers yet.