CSS LAYER-BACKGROUND-COLOR
This value sets the background-color for the entire region of the current element. This proprietary property behaves in Netscape the way the ‘background-color’ property SHOULD behave, while the actual ‘background-color’ behavior is buggy in this regard. This property was invented to create the correct behavior.
The ‘background-color’ 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-color’ and the border area, where the background-color of the parent element shines through.
The ‘layer-background-color’ covers the whole region specified by the element, including the gap area occurring for the ‘background-color’ property, and the entire dimension of the element specified by the ‘width’ and ‘height’ properties. Since this property is only understood by Netscape, and it fixes other buggy behavior, specifying both this and the ‘background-color’ property with the same value seems like a good idea.
Examples
div {
position: absolute;
top: 100px; left: 300px;
width: 200px; border: thin solid black;
background-color: blue; layer-background-color: blue;
}
Possible Values
[color]: This is a representation of the values for Red/Green/Blue used to determine a final display color. Please see the section on Color Units for details on the various color specification schemes.
transparent: This specifies that the parent element background/image will shine through if one exists, else the system default background/image value is used.
2 Responses
Recently I was extremely low on money and debts were eating me from all sides! That was UNTIL I decided to make money.. on the internet. I went to surveymoneymaker dot net, and started filling in surveys for cash, and surely I’ve been far more able to pay my bills!! I’m so glad, I did this!! With all the financial stress these years, I really hope all of you will give it a chance. – a8eq
for unfamiliar css topics, i used online tutorials and css generators like: http://www.generatecss.com/css/ thanks for this write up too. very informative.