Often it is desirable to set a background color for an entire layer or DIV region, much like setting the background color for a whole table. Setting a layer background color should work the same for version 4 of both Netscape and Internet Explorer but it doesn’t. The Cascading Style Sheet (CSS) background-color:color sets the background color in Internet Explorer, but only colors the background of text in Netscape 4. To get the same effect in both browsers, use two tags in sequence: background-color:color for Internet Explorer and layer-background-color:color for Netscape. For example:
Share the Post:
Share on facebook
Share on twitter
Share on linkedin