Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Dom rollover
- From: paul at juniperwebcraft.com (Paul Novitski)
- Subject: [Javascript] Dom rollover
- Date: Thu Sep 28 22:16:18 2006
At 9/28/2006 06:30 PM, David Hucklesby wrote: >Umm. Not so. The background-color property is one of the few that >do *not* inherit. If unassigned, background-color defaults to >transparent, allowing background colors and images set on enclosing >elements to show through. Think about it. A background image set on >the BODY appears in all places unless another background overlays it. You are so right: CSS 2.1 Specification 14 Colors and Backgrounds 14.2 The background http://www.w3.org/TR/CSS21/colors.html "Background properties are not inherited, but the parent box's background will shine through by default because of the initial 'transparent' value on 'background-color'." Standing corrected, Paul
- References:
- [Javascript] Dom rollover
- From: Paul Novitski
- [Javascript] Dom rollover
- From: David Hucklesby
- [Javascript] Dom rollover
- Prev by Date: [Javascript] Dom rollover
- Next by Date: [Javascript] Javascript fontsize control from external page
- Previous by thread: [Javascript] Dom rollover
- Next by thread: [Javascript] Javascript fontsize control from external page
- Index(es):