PropertyValue
rdfs:label
  • Layer-background-image
rdfs:comment
  • The CSS layer-background-image property sets the <a href="/mediawiki/Background-image" title="Background-image">background-image</a> for the entire region of the current element. This property behaves in Netscape the way the background-image property should behave, because this property was invented to create the correct behavior. The background-image property only covers the content area of an element's rendering box, and if a border is also used, there is a slight gap (2-3 pixels) between the background-image and the border area, where the surface of the parent element shines through.
dcterms:subject
dbkwik:htmlcss/property/wikiPageUsesTemplate
abstract
  • The CSS layer-background-image property sets the <a href="/mediawiki/Background-image" title="Background-image">background-image</a> for the entire region of the current element. This property behaves in Netscape the way the background-image property should behave, because this property was invented to create the correct behavior. The background-image property only covers the content area of an element's rendering box, and if a border is also used, there is a slight gap (2-3 pixels) between the background-image and the border area, where the surface of the parent element shines through. The layer-background-image covers the whole region specified by the element, including the gap area occurring for the background-image property, and the entire dimension of the element specified by the <a href="/mediawiki/Width" title="Width">width</a> and <a href="/mediawiki/Height" title="Height">height</a> properties. Since this property is only understood by Netscape, and it fixes other buggy behavior, specifying both this and the background-image property with the same value is recommended.