HTML and CSS Reference
In-Depth Information
background-color:
#ccc;
/*
set a gray background color */
background-image:
url(logo.png);
/*
attach an image */
background-repeat:space;
/*
repeat image in available space */
background-origin:content-box;
/*
set image origin to content edge */
background-clip:content-box;
/*
clip image at content edge */
}
.no-clip {
background-clip:border-box;
/*
clip image at border edge */
}
The boxes will appear like Figure 6-17 . The background images will repeat beginning
at the same origin but will be clipped at different points.
Search WWH ::




Custom Search