Page is a not externally linkable
- Code, Content, and Presentation
-- CSS
---- CSS order for text-formatting


Purple_Martin - 10:34 pm on Oct 17, 2002 (gmt 0)


dingman - users can change the style of the document text with a select menu (this is part of an on-line application, so don't worry if it's not clear why I'd want to do this). Anyway, it's done with JavaScript by using the removeRule and addRule methods (the app is for a closed IE5 environment :) ) to replace styles in the styleSheet object. It's actually quite fun watching the whole page change when the select menu has the focus and you use the mouse scroll-wheel to cycle through the style options!


Thread source:: http://www.webmasterworld.com/css/352.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com