You are here: Re: Font-size « HTML « IT news, forums, messages
Re: Font-size

Posted by Chris F.A. Johnson on 08/10/06 01:49

On 2006-08-10, Luigi Donatello Asero wrote:
> Hello,
> I am wondering whether there is a way to set a min font-size.
> Let´s say that I set
> font-size: smaller; for a certain table class, how would I prevent the
> text from being so little that they cannot be read on a narrow computer
> screen?

Why would you want to give it any size? If you don't, it will
appear at the user's preferred size.

> Could I set a min font-size?
> Or perhaps had I better provide a link to another page with a large table?

Use 100% or 1em for the basic size. For a slightly smaller font,
use 90% or .9em. For a slightly larger font, use 110% or 1.1em.
Etc...

You must assume that the user has the default size set at their
preferred size. Don't make any font much smaller than that. Larger
fonts are easier to read than smaller fonts.


--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация