Solved

Flexible Font Size

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will learn how to dynamically set the form action using jQuery.
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…

749 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