Thanks Felix and David, Sorry for this late re-reply. :(
I will start to apply my font-sizes where they should be defined and only there. I still have one question, now more code related, that I would love to hear some buzzwords about it: What is the meaning/propose of the slash here: 100%/1.4 ? Thanks a lot for your clarifications on the last e-mail, Márcio > -----Original Message----- > From: [email protected] [mailto:css-d- > [email protected]] On Behalf Of Felix Miata > Sent: sábado, 20 de Fevereiro de 2010 13:15 > To: [email protected] > Subject: Re: [css-d] font-size property on body element > > On 2010/02/20 07:08 (GMT) MEM composed: > > > I'm asking myself this question and I'm hoping someone could help me > solve it. > > On past posts, we have been talking on applying font-size to elements > that > > actually contain text and not, on containers of other elements > because, that > > could lead to visual inconsistencies and unnecessarily complicates > things. > > > I've been told that HTML is the first element that could have font- > size > > applied to it. > > body, the second element. > > > Taking away the font-size bug issue and the reason for font- > size:100%; on > > the HTML element, why do we normally do: > > > body { > > font-size : xxx%; > > } > > > And not: > > > body p { > > font-size : xxx%; > > } > > > ? > > > Why apply a font-size to all body element that can contain not only > text but > > other elements as well ? > > Pretending that IE has no font scaling bug that applying a % font-size > to > html and/or body will fix, the only reasons to specify a font size on > body are: > > 1-being a copycat, doing what so many others do because that's what > others do > 2-usurping the choices of those in best position to determine the most > appropriate base font sizes (the users, those who can actually see the > displays in use) > > If you're specifying sizes in px (and thus for magazine page layout > rather > than the inherently flexible and adaptable web), then it really matters > little to none on which elements you specify font sizes. > > If you're styling for maximum usability across the wide panoply of > screen > sizes and resolutions (and thus wide DPI range) in existence, you're > sizing > primarily in em (and maybe also %). It is in this context where, due to > cascade (the "C" in CSS), setting font sizes on inappropriate elements > can > lead to frustration and extra complication, and where limiting font > sizing as > much as practical to elements actually containing text is prudent. > > Don't specify sizes except where you actually _need_ to. It's a > simplification method that makes your work easier, and probably makes > your > results less likely to provoke visitors to apply defenses of zoom or > minimum > font size in order to be able to use your results in comfort. > -- > "Our Constitution was made only for a moral and religious > people. It is wholly inadequate to the government of any > other." John Adams, 2nd US President > > Team OS/2 ** Reg. Linux User #211409 > > Felix Miata *** http://fm.no-ip.com/ > ______________________________________________________________________ > css-discuss [[email protected]] > 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/ ______________________________________________________________________ css-discuss [[email protected]] 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/
