Change text content font dynamically

  • Thread starter Thread starter .._..
  • Start date Start date
?

.._..

I am looking for a code sample that can change the font size of paragraphs
or styles in a page with a click of a button or on a link.

So, three choices "small, medium, large" and when "large" is clicked by the
user, the font size on the page jumps to a larger font.

It seems I saw one somewhere, but am having difficulty sorting the terms out
to find it in Google again.

TIA
 
Why do you want to do this? All modern browsers allow the user to resize
HTML text on any web site.
 
Well, I wouldn't use it for that reason as well. Howeer, when you get some
customer who wants a whiz bang feature often "you don't need that" is not an
acceptable answer.

As whiz bang crap users add to a web site, that's not a particularly bad
one. It could be a 1.2 meg flash entry page or something much worse.
 
With all due respect, I disagree. Over the years, I've told many, many
clients that they don't need some "whiz-bang" feature, and been willing to
spend time and effort explaining and telling them my recommendations as a
professional. I consider this one of the things they pay me to do.

I find that *most* of the time, they listen to me. They don't always, but I
always give it a good try before just giving in.
 
Back
Top