home > real world > web resource > web utility programs >
Calling body background from a HTML:
<body background="stars.gif" bgproperties="fixed">
Calling body background from a style:
body
{
background: #00FF00 url(stars.gif) no-repeat fixed top
}
Possible Values:
background-color: #00FF00;
background-image: url(stars.gif);
background-repeat: repeat-x; // repeated horizontally
background-repeat: repeat-y; // repeated vertically
background-repeat: no-repeat; // displayed only once
background-attachment: fixed; // does not move when the page scrolls
background-attachment: scroll; // moves when the page scrolls
background-position: top left
background-position: 0% 0%
|