Solved

Flexible Font Size

Posted on 2013-01-15
3
367 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 109

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
The viewer will learn how to count occurrences of each item in an array.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

840 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