Solved

Flexible Font Size

Posted on 2013-01-15
3
350 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 83

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…

896 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

13 Experts available now in Live!

Get 1:1 Help Now