Letting users set page type size


show more Letting users set page type size provides you with in-depth training on Web. Taught by Joseph Lowery as part of the Typography with CSS in Dreamweaver show less
please wait ...

Letting users set page type size

While every designer generally does his or her level best to make their sites legible, there's no way you can please everyone. One option is to let the users of your site set the size of the type themselves, as you'll see in this example. So I'm in Live view and if I move over the larger A and click once, the type gets bigger. I'll click again and it gets even bigger still. I can go to the smaller A, click again to make it smaller one more time, so that it is back to the original size and then let's click one last time to make it even smaller.

To create this interaction, all you need is a little HTML and JavaScript. Let's take a look at how it's done. I'll close out my example file, which you can find in the Final folder, by the way and now I have resources.htm from the Chapter 2>02_04 folder open, and we're here in Split view because we're going to need to add in some HTML elements and we want to do it as a span tag following resources, so that ...

Letting users set page type size
Video duration: 7m 30s 2h 30m Intermediate

Viewers:

Letting users set page type size provides you with in-depth training on Web. Taught by Joseph Lowery as part of the Typography with CSS in Dreamweaver

Subject:
Web
Software:
Dreamweaver
Author:
please wait ...