Definition The min-width property sets the minimum width of an element. Inherited: No JavaScript Syntax CSS properties can also be dyna...
Definition
The min-width property sets the minimum width of an element.Inherited: No
JavaScript Syntax
CSS properties can also be dynamically changed with a JavaScript.Scripting Syntax: object.style.minWidth="1000px"
Example
h2 { min-width: 50px } |
Possible Values
Value | Description |
---|---|
length | Defines a minimum width for the element.Default value: browser dependent |
% | Defines the minimum width for the element in % of the containing block |
Goto CSS3 and CSS2 complete reference