Discussion: Font sizes are wrong
Afficher un message
Vieux 09/03/2008, 15h22   #5
Beauregard T. Shagnasty
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Font sizes are wrong

thomas.frandzen@gmail.com wrote:

> On the front page of my website www.jamesboswell.info, ...
>
> The class is defined as follows in the style sheet:
>
> .style10 {font-family: Georgia, Verdana, "Times New Roman", Times,
> serif; font-size: 10px; }
>
> Any ideas?


Several. Why are you mixing serif and sans-serif fonts?

font-family: Georgia, Times, "Times New Roman", serif;

You only need to specify the font-family once - in body { } - unless you
want to change some individual part elsewhere. The first C in CSS is
"Cascading".

Then read this;
http://k75s.home.att.net/fontsize.html

"style10" is a very poor choice of class name. The name should describe
the purpose of the class. What sort of (poor) WYSIWYG tool did you use
for this page?

--
-bts
-Friends don't let friends drive Vista
  Réponse avec citation
 
Page generated in 0,04718 seconds with 9 queries