Background and Color Properties
You can also use CSS to specify backgrounds, images, and colors. What follows is a synopsis of these properties.
background
CSS1 values: [<background-color>||<background-image>||<background-repeat>||<background-attachment>||<background-position>]
CSS2 values: inherit
Default value: Not defined
Element support: All elements
Browser support: [IE3, IE4, IE5, IE6, NS4, NS6]
Style inherited: No
This shorthand property lets you list the background properties (such as background-color, background-image, background-repeat, background-attachment, and background-position) all at the same time. Of course, you can set these properties individually as well.
background-attachment
CSS1 values: scroll|fixed
CSS2 values: inherit
Default ...
Get Real World XML now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.