May 2000
Intermediate to advanced
472 pages
14h 17m
English
background — IE4 P/Y | IE5 Y/Y | NN4 P/P | Op3 P/-
A shorthand way of expressing the various background properties using a single rule. Use of this property is encouraged over the other background properties because it is more widely supported and doesn’t take as long to type.
BODY {background: white url(bg41.gif) fixed center repeat-x;}
P {background: #555 url(http://www.pix.org/stone.png);}
PRE {background: yellow;}| <background-color> || <background-image> || <background-repeat> || <background-attachment> || <background-position> |
refer to individual properties
no
all elements
Percentage values allowed on <background-position>.
Read now
Unlock full access