- Aug 24, 2001
- 1,590
- 0
- 0
I have a DIV with some text in it, and I'd like to have two links to resize the text using JS. I was thinking about using two functions -Bigger() and Smaller()- that would change font sizes when the links are clicked.
The Div has and ID of "ArticleText", and the font definitions are on an external CSS file:
#ArticleText { font: 12px Arial; color: #424242;}
The "font" property is what I want to change at runtime. Any ideas?
The Div has and ID of "ArticleText", and the font definitions are on an external CSS file:
#ArticleText { font: 12px Arial; color: #424242;}
The "font" property is what I want to change at runtime. Any ideas?
