Prev | Current Page 285 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

278) and right (p. 276) property values, or on the left
and right margins, borders, and padding applied to the element. Note that Internet
Explorer versions up to and including 6 don??™t correctly apply the properties left
and right when they??™re used at the same time. See the section on position for
more details.
SPEC
version initial inherited
CSS1 auto NO
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE7+
FULL FULL FULL FULL
195 Box Properties
If no hard constraints are imposed by other properties, the element is allowed to
assume its natural content width, based on the width of the horizontal space
available. For static or (relatively positioned) elements, this means that an element
whose width is set to auto will expand to fill the parent without our needing to set
a specific width such as width: 100%. This is useful when padding and borders
need to be set on the same element as it avoids any box model problems??”see the
box model (p. 142).
Compatibility
Opera Safari Firefox Internet Explorer
9.


Pages:
273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297