HTML and CSS Reference
In-Depth Information
background-attachment: determines whether the image scrolls
with the page.
These properties can all be merged into one short-hand property:
background. One important thing to note is that the background accounts
for the contents of the element, including the padding and border. It does
not include an element's margin. This works as it should in Firefox, Safari
and Opera, and now in IE8. But in IE7 and IE6 the background does not
include the border, as illustrated below.
Background does not extend to the borders in IE7 and IE6.
Search WWH ::




Custom Search