I'm giving the body a 1.4em so it will be like 14px.
I'm doing this because my markup has nested sections and I can't use section 
{font-size: 1.4em;} or can I?


On Feb 22, 2011, at 4:07 PM, Chris F.A. Johnson wrote:

> On Tue, 22 Feb 2011, Germán Martínez wrote:
> 
>> Hello,
>> 
>> I've always used body {font-size: .625em;} as a way to manage more easily 
>> the font-size and I was wondering if using:
>> 
>> html         {
>> font-size: .625em;
>> }
>> 
>> body {
>> font-size: 1.4em;
>> }
>> 
>> will be a better solution, are there any known quirks for defining font-size 
>> on the html element?
> 
>  Why not: body { font-size: 100%; } ?
> 
>  That way you will use the size that the user prefers rather than one
>  that is probably too small to read comfortably (87.5% of the
>  viewer's comfortable size).
> 
> -- 
>   Chris F.A. Johnson, <http://cfajohnson.com/>
>   Author:
>   Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
>   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)



Germán Martínez, UX Designer

http://martinez.pe



______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to