[thelist] increase and decrease font size by clicking on an icon

Hassan Schroeder hassan.schroeder at gmail.com
Thu Feb 1 19:37:08 CST 2007


On 2/1/07, Bruce Gilbert <webguync at gmail.com> wrote:
> I want to create web pages, where the user can increase the font size
> right there on the page by clicking an icon. An example would be
> www.espn.com. Can someone shed some light on how do do this? Multiple
> stylesheets and PHP would be my guess, but I want other ideas.

I don't see that on espn.com, but regardless -- you can do it client-side
with JavaScript, or server-side with your language of choice. Or both :-)

Multiple stylesheets would be one approach, but just making the base
font size a variable would also do...

FWIW,
-- 
Hassan Schroeder ------------------------ hassan.schroeder at gmail.com



More information about the thelist mailing list