Changing text size of websites

Wiseguy2001

2[H]4U
Joined
Nov 28, 2001
Messages
3,466
Hi

I'm trying to find an elegent way to resize text using javascript or CSS. I've Googled around and they all seem very ott. All I want to is have two buttons to increase the text and decrease the text, much the same way as in the browser menu (View > Text Size > Increase / decrease). Theres gotta be a nice and easy way to do it.

ps I wish users would figure out ctrl + mouse wheel!
 

PopeKevinI

2[H]4U
Joined
Mar 25, 2002
Messages
2,880
Wiseguy2001 said:
Hi

I'm trying to find an elegent way to resize text using javascript or CSS. I've Googled around and they all seem very ott. All I want to is have two buttons to increase the text and decrease the text, much the same way as in the browser menu (View > Text Size > Increase / decrease). Theres gotta be a nice and easy way to do it.

ps I wish users would figure out ctrl + mouse wheel!

I would think it could be done with Javascript. I'm just learning it myself so I'll be no help there.

As for CTRL + mouse wheel, I'd never heard of that myself...which is odd, because I know most windows shortcuts.

Are people complaining about your text size? Link to site?
 

lomn75

Purple Ace
Joined
Jun 26, 2000
Messages
6,613
I would suggest checking out ESPN.com's code, as they have text size buttons on all their articles now.
 
Top