ZVON > References > CSS2 Reference |
Intro / Search / ZVON |
Property: | width |
Inherited: | no |
Value: | <length> | <percentage> | auto | inherit |
Initial: | auto |
Applies to: | all elements butnon-replaced inline elements, table rows, and row groups |
Media: | visual |
Percentages: | refer to width of containing block |
<doc> <AAA> block element full of text text text text text text text text text <BBB> inside </BBB> text text text text text text text text text text text text text text text text text text text text text text </AAA> <AAA> text text text text text text </AAA> </doc> |
View * {display: block} AAA {height: 100px; width: 350px; border: red solid thin} |
<doc> <AAA> block element full of text text text text text text text text text <BBB> inside </BBB> text text text text text text text text text text text text text text text text text text text text text text </AAA> <AAA> text text text text text text </AAA> </doc> |
View * {display: block} AAA {width: 150px; border: red solid thin} |
<doc> <AAA> block element full of text text text text text text text text text <BBB> inside </BBB> text text text text text text text text text text text text text text text text text text text text text text </AAA> <AAA> text text text text text text </AAA> </doc> |
View * {display: block} AAA {height: 100px; width: 350px; border: red solid thin} BBB {height: 20%; border: blue solid thin} |