Solved

Flexible Font Size

Posted on 2013-01-15
3
340 Views
Last Modified: 2013-01-24
How do I get a font to increase and decrease with the size of the page?  If someone expands the page 1140 the font grows in size and when they make the screen 760 the font shrinks?
0
Comment
Question by:rgranlund
3 Comments
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 38780847
Normally, you don't, that's a user selection.  If the user wants everything bigger, most browsers provide a 'zoom' function now that increases (or decreases) the entire page.  'standard' font size is also user selectable.  IE provides a selection for 5 different font sizes, normal, two larger and two smaller.
0
 
LVL 108

Expert Comment

by:Ray Paseur
ID: 38781039
I read this question and wondered, "huh" and I think DaveBaldwin captured the essence of it perfectly.  Most of my colleagues who are designers use percentages for element sizes.  This lets the designer fix a useful and appropriate design and lets the client make the final size according to needs and vision.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 38784146
Dave and Ray have pretty much covered it.  I have done a lot of web pages and never come close to any design where I would link font size to screen dimension.  Even if you did, the user would override to what they want.

If you want to I suppose you could create an image of the text in various sizes and use that instead of text, but I suspect the page would look pretty defective to a lot of users.

Cd&
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
The viewer will learn how to dynamically set the form action using jQuery.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now