Reply to Re: CSS font sizes - what's best to use?

Your name:

Reply:


Posted by Beauregard T. Shagnasty on 11/14/06 13:37

K A Nuttall wrote:

> Beauregard T. Shagnasty wrote:
>> No, no, no ... Set your body font to 100% (instead of the keyword),
>> and then only set headings and footers to other sizes. That is all
>> you need.
>>
>> http://k75s.home.att.net/fontsize.html
>
> What is the point of setting BODY to 100%?

Because then you don't have to set individual sizing for every other
type of element you may use in the page. The following becomes
unnecessary:

p { font-size: 100%; }
li { font-size: 100%; }
div { font-size: 100%; }
blockquote { font-size: 100%; }
etc etc...

If you are comfortable with the default headings sizes, all you really
need to assign is:

body { font-size: 100%; }
.legalese { font-size: 85%; }

assuming you have a copyright notice that can be smaller. 85% is about
the lower limit, though.

That said, 100% is the default size of course, and you don't really need
to assign it at all, but doing so does reinforce and show your intent,
so I think it's a Good Thing™.

The rest of your points were discussed by those Brits who awoke five
hours before me. <g>

--
-bts
-Motorcycles defy gravity; cars just suck

[Back to original 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

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