September 2001
Intermediate to advanced
640 pages
31h 42m
English
width
This property sets the width of the element and can apply to blocks (like paragraphs) in addition to things like images. If you use this on an image, be sure also to specify the height. Percentage values pertain to the width of the containing block.
length|percentage|autoIMG.photo {width: 300px; height:300px;} P.narrow {width: 75%}Block-level elements and replaced elements (such as graphics)
Yes
Read now
Unlock full access