Share this Page URL

Chapter 3. Browser Adoption of CSS > Internet Explorer 4.x - Pg. 19

Browser Adoption of CSS 19 In general, if a certain feature is already supported within one browser, you can most likely use a CSS element to set it, too. For example, the text-decoration element has a value called blink that flashes the text on and off repeatedly. It is supported within Netscape Navigator -- where you could use the <blink> tag to do much the same sort of thing -- but up until recently not in Internet Explorer, which never supported the <blink> tag. On the other hand, there is a feature seen only in Internet Explorer called "watermarking" that allows the Web author to create a back- ground image that remains fixed upon the page even when a user scrolls up or down. There is a CSS value ("background-attachment: fixed") that does the same thing. Not surprisingly, this CSS element is supported within Internet Explorer, but again, up until recently, not within Netscape Navigator. This sort of thing makes for a good rough guide to the type of behavior you can expect from the various browsers. The widespread adoption of CSS within the most recent popular browsers can be seen as a real success for the W3C, and ultimately for Web authors who now have a fairly reliable new set of powerful formatting tools to use on their Web pages. Now that pretty much all of the CSS1 and much of the CSS2 specification have been adopted within the two major browsers, the use of CSS code on Web pages has exploded. Yet any good Web author will still want to know the details of what CSS properties work -- and which don't -- in specific browsers. An understanding of the strengths and weaknesses of a given browser will help you to choose which CSS elements will be most effective in your Web pages. Internet Explorer 3.x Internet Explorer 3.x was the first major browser to implement CSS, although only in a rudimentary fashion. It did not implement many CSS properties, and those that were implemented were rarely