|
August 17, 2000 Dynamic Style Evolution Tips: August 2000
Yehuda Shiran, Ph.D.
|
|
The introduction of Cascading Style Sheets (CSS) in versions 3.0 of both Internet Explorer and Netscape Navigator revolutionized the way Web authors wrote their pages. CSS allows authors to do work differently. First, instead of mixing content and style in one document, authors can now separate between content and its formatting instructions which go into the style sheet. Secondly, authors do not have to repeat formatting instructions for every instance of the same element type, because CSS allows them to specify styles for generic types.
Internet Explorer 4.0 and Netscape Navigator 4.0 brought the second revolution. No longer need styles stay fixed while reading the page. These browsers provide the ability to dynamically change any HTML attribute of any element, any time. Attributes can be modified by a JavaScript script, in response to certain events such as the user moving the mouse over the target element. Internet Explorer 4.0 implemented the style specifications as an element property (
Internet Explorer 5 and later supports dynamic properties, which allow Web authors to assign elements, properties, and formulas to DHTML properties. Dynamic properties are set by the Learn more about the subject in Column 66, Dynamic Styles.
People who read this tip also read these tips: Look for similar tips by subject: |