HTML and CSS Reference
In-Depth Information
Determines whether the
background image is fixed
in the window or scrolls
as the document scrolls.
background-
attachment
scroll | fixed
8.4.5.3
background-
color
Sets the background color
of an element.
color | transparent
8.4.5.1
background-
image
Sets the background image
of an element.
url | none
8.4.5.2
Sets the initial position
of the element's back-
ground image, if speci-
fied; values normally are
paired to provide X,Y pos-
itions; default position
is 0% 0% .
percent | length | top
| center | bottom |
left | right
background-
position
8.4.5.4
Determines how the back-
ground image is repeated
(tiled) across an element.
repeat | repeat-x |
repeat-y | no-repeat
background-
repeat
8.4.5.5
Sets all four of an ele-
ment's borders; value is
one or more of a color , a
value for border-width , and
a value for border-style .
border
8.4.7.6
Search WWH ::




Custom Search