Changing font size in IE programatically

Started by
1 comment, last by silverphyre673 17 years, 8 months ago
I need to find a way to change the font size in Internet Explorer with code; I've seen a few web pages and the like where there are buttons on the actual page that let you change the font size, but I can't find any way to do that in code (I checked the source of the pages and it doesn't lead me anywhere). This seems like it should be really simple, but I'm stuck. Any ideas? Thanks!
my siteGenius is 1% inspiration and 99% perspiration
Advertisement
The first idea would be to use &#106avascript to alter the <tt>font-size</tt> CSS property.
Quote:Original post by ToohrVyk
The first idea would be to use &#106avascript to alter the font-size CSS property.


Yeah, that may actually be what those websites are doing; I'm not sure if there's another way, but keep the ideas coming. Thanks!

Edit: Would this work on a site where the pages are generated server-side?
my siteGenius is 1% inspiration and 99% perspiration

This topic is closed to new replies.

Advertisement