View Full Version : Increase and decrease font size

01-28-2008, 08:01 PM
Hi guys and girls,

I would like to have a feature on a site where the user can increase or decrease the font size used.

Now I'm asking would you use css and javascript or css and php??


01-28-2008, 08:08 PM
You can do it both ways. I would use css and php but thats because I dont know javascript but if you want to achieve it so the page doesnt have to refresh you could use ajax.

d a v e
01-28-2008, 08:18 PM
it's built in already: users can use their browser for that ;)

or use style-switcher that sets a cookie to remember the style sheet i think there was one on alist apart http://www.alistapart.com/

02-11-2008, 08:08 AM
Yeah, I think im gonna go with php and css.

Aren't cookies being phased out, I sure read it some where microsoft doesnt like them, as it poses a security risk or something?

I read round about the time IE7 was being released