IT. Expert System.

CSS

min-width


Property Description

The min-width property sets the minimum width of an element. This does not include padding, borders, or margins.

This property has the following syntax:

min-width: length|%|initial|inherit;

Property Values

Value Description
length (default is 0) Defines the minimum width in px, cm, etc. 
% Defines the minimum width in percent of the containing block
initial Specifies that the value of the property should be set to the default value
inherit Specifies that the value of the property should be inherited from the parent element

Examples

This example sets the minimum width for a paragraph.

p {
  min-width:100px;
  background-color: yellow;
}

<p>The minimum width of this paragraph is set to 100px.</p>

This produces the following result:

The minimum width of this paragraph is set to 100px.


Browser Support

Chrome Firefox IE Safari Opera
1.0 3.0 7.0 2.0.2 4.0

Miscellaneous Information

Inherited: No
Defined In: CSS2
Default Value: 0


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2260 / . Delta: 0.11145 с