Solved

Flexible Font Size

Posted on 2013-01-15
3
383 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 110

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

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

691 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