This property provides a means of specifying the minimum width of an element so that it cannot get any smaller, regardless of the implications of the document flow and automatic browser formatting.
The value is expressed in the usual measurement units (either pixels or fractions of an em-dash). You can also use the percentage of the containing element as a maximum size.
The size of an element can be constrained using the minimum/maximum extents for the height and width. This ensures that the element's size will fall within the permitted bounds but yet still have some flexibility to allow the document flow to respond to window sizing.
See also: | Measurement units, style.maxWidth, style.minHeight |
Prev | Home | Next |
style.minHeight | Up | style.orphans |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |