Click to See Complete Forum and Search --> : [RESOLVED] Change of font size


wallacekp
01-23-2008, 02:44 PM
I want to provide the user with a facility with which they can increase the size of the font on the web pages. I am having trouble getting it right. Does anyone have any guidance/code please?

dtm32236
01-23-2008, 03:06 PM
http://www.white-hat-web-design.co.uk/articles/js-fontsize.php

Centauri
01-23-2008, 05:50 PM
Why duplicate functionality that is built into modern browsers anyway?

dtm32236
01-23-2008, 10:46 PM
agreed, but on wallacekp's defense, most people don't even know they can resize text - well, maybe the older or less experienced users anyway...

my last website was aimed towards an older market - so i did consider putting this function on the website (never did though)

wallacekp
01-25-2008, 12:01 PM
Thanks dtm32236. You've hit the nail on the head: the web site is aimed at the over 60's so I need to help them.
However, I have looked at your code and it doesn't appear to work! Is it just me?!?!

dtm32236
01-25-2008, 12:48 PM
try this one:
http://www.alistapart.com/articles/relafont/

there's tons all over the place - just google "Javascript change font size"