Click here to get back home

How to set default font size to small for a page's body?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
How to set default font size to small for a page's body? Don Li 04-16-2008
Get Chitika Premium
Posted by Bergamot on April 16, 2008, 1:07 pm
Please log in for more thread options
Harlan Messinger wrote:
> Don Li wrote:
>> <body style="font-family:Verdana,Arial,Helvetica;font-size:0.8em;">
>
> why are you trying to set the primary font of your page to a
> size that's smaller than the user finds convenient to read?

Probably because it's Verdana.

--
Berg

Posted by David Stone on April 16, 2008, 10:49 am
Please log in for more thread options
In article

> I've tried
> <body style="font-family:Verdana,Arial,Helvetica;font-size:0.8em;">
> or
> <body style="font-family:Verdana,Arial,Helvetica;font-size:11pct;">
> or
> <body style="font-family:Verdana,Arial,Helvetica;font-size:80%;">
> to no avail. In IE7 it shows up as Medium. What did I do wrong?

Perhaps you forgot to change the default font sizes in your
browser, so that your "small" text doesn't look the way you
expect? Or perhaps you are running into issues where your CSS
is trying to make the text smaller than the minimum font size
set in your browser?

See elsewhere in this group for information about why you shouldn't
set the body font-size to anything other than 100% (i.e. the user's
preferred font size), and especially about problems with Verdana
relative to other fonts.

Posted by Andreas Prilop on April 16, 2008, 11:13 am
Please log in for more thread options
On Wed, 16 Apr 2008, Don Li wrote:

> What did I do wrong?

You tried to mess with the reader's preferred font size for BODY.
Don't do that! Do not specify a font size for BODY.

--
In memoriam Alan J. Flavell
http://groups.google.com/groups/search?q=author:Alan.J.Flavell

Posted by Beauregard T. Shagnasty on April 16, 2008, 11:15 am
Please log in for more thread options
Don Li wrote:

> I've tried

Please read this:
http://tekrider.net/html/fontsize.php

> .. What did I do wrong?

You decided to pick a size which would make many visitors (including me)
squint at the monitor. If 100% is too large for your own taste, decrease
your own browser's default size. But leave it adequate for me.

I expect your post was just a test. Normally you would move the styling
to your CSS style sheet.

--
-bts
-Friends don't let friends drive Vista

Posted by Don Li on April 16, 2008, 11:31 am
Please log in for more thread options
On Apr 16, 11:15=A0am, "Beauregard T. Shagnasty"
> Don Li wrote:
> > I've tried
>
> Please read this:http://tekrider.net/html/fontsize.php
>
> > .. What did I do wrong?
>
> You decided to pick a size which would make many visitors (including me)
> squint at the monitor. If 100% is too large for your own taste, decrease
> your own browser's default size. But leave it adequate for me.
>
> I expect your post was just a test. Normally you would move the styling
> to your CSS style sheet.
>
> --
> =A0 =A0-bts
> =A0 =A0-Friends don't let friends drive Vista

People. Please consider the following factors:
a) the majority of my users are likely not knowing how to set font
size with their browser and I don't intend to provide instruction on
that (once again, they are not you, not tech savvy);
b) the 'small' font size looks good (not the default 100% size) for
the home page (feedback from beta users).

Thanks.

Similar ThreadsPosted
Firefox - Prevent TextField size change when user changes font size? October 3, 2006, 6:21 pm
set size of body in pixels July 27, 2008, 7:03 pm
[XHTML+XML] html and body size December 10, 2005, 11:04 am
 tag font and size
December 30, 2004, 12:05 pm
Best way to specify font size December 11, 2005, 6:45 pm
Loose DTD and font size August 27, 2004, 9:34 am
Font-size buttons October 6, 2005, 9:42 am
Behind-the-scenes font size changes October 11, 2006, 6:01 am
MSIE font size change? April 8, 2005, 10:22 pm
Question of font size change May 5, 2005, 10:08 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap