Dynamic Styles: A Final Word
Dynamic Styles
A Final Word
In this column we have presented several ways to dynamically modify styles. We have shown you strategies that do not reclaim empty space, as well as other that do reclaim the abandoned space and reflow the page perfectly. We have taught you how to change style of an element from another element. We also covered the priority order of style assignments, in case of a conflict between two different style assignment.
In this column you have learned:
- How dynamic styles evolved over the years
- How to change the color
- How to change the font (size and family)
- How to remove elements via a link
- How to remove elements via itself
- How to hide elements without reflowing
- How to change styles using Classes
Produced by Yehuda Shiran and Tomer Shiran
Created: August 14, 2000
Revised: August 14, 2000
URL: https://www.webreference.com/js/column66/9.html