[CSS]CSS Advanced - CSS Dimension
개발관련/CSS/CSS3 2012. 10. 23. 21:48 |출처: http://www.w3schools.com/css/css_dimension.asp
All CSS Dimension Properties
The number in the "CSS" column indicates in which CSS version the property is defined (CSS1 or CSS2).
Property | Description | Values | CSS |
---|---|---|---|
height | Sets the height of an element | auto length % inherit | 1 |
max-height | Sets the maximum height of an element | none length % inherit | 2 |
max-width | Sets the maximum width of an element | none length % inherit | 2 |
min-height | Sets the minimum height of an element | length % inherit | 2 |
min-width | Sets the minimum width of an element | length % inherit | 2 |
width | Sets the width of an element | auto length % inherit | 1 |
CSS Dimension
Set the height of an image using a pixel value
Set the height of an image using percent
Set the width of an element using a pixel value
Set the width of an element using percent
Set the maximum height of an element
Set the maximum width of an element using a pixel value
Set the maximum width of an element using percent
Set the minimum height of an element
Set the minimum width of an element using a pixel value
Set the minimum width of an element using percent
Dimension properties explained
'개발관련 > CSS/CSS3' 카테고리의 다른 글
[CSS]CSS Advanced - CSS Positioning (0) | 2012.10.23 |
---|---|
[CSS]CSS Advanced - CSS Display (0) | 2012.10.23 |
[CSS]CSS Advanced - CSS Grouping and Nesting (0) | 2012.10.23 |
[CSS]CSS Box Model - CSS Padding (0) | 2012.10.23 |
[CSS]CSS Box Model - CSS Margin (0) | 2012.10.23 |