> Look at http://fm.no-ip.com/auth/Font/font-rounding.html in each of > your > installed browsers and you may see that more than two significant > digits to > em font-sizes are an invitation for inconsistent results. If you stick > to two > significant digits and take what you learn from that URL into account > you > might get acceptable results cross-browser.
It was amazing to see how much different they can get. I've not seen any EM units however. (where they the same as the %, since 100%=1em ?) I've seen that .pt are quite inconsistent. Px are precise. (but they not scale on some browsers) and the keywords small...etc (are quite nice as well). The percent, seems to be quite nice also, if we stick with 2 digits. And because of this also, I associate EM with %. Hope to get it right. > > I grepped font-size from > http://www.chequedejeuner.nuvemk.com/lib/css/main.css and found 31 > lines, > plus a few with just font:. That's probably more than necessary. > Simplify and > see what happens. What could we do to simplify? Should I remove some font-sizes and let them been hierarchy applied? > Several sizes are specified at less than .75em. That's generally too > small. > Those with a minimum font size enforced are liable to find most text on > the > page rendered identically in size. e.g., my minimum when set is at 80% > or > more of my default, while your CSS has more than half its sizes set > to .75em > or less. Ok. So since I'm not using % but EM, I believe 8em minimum should be the limit. Since 100% will correspond to 1em. Before this however, I must take care of inconsistencies. @David I will deal with IE6 later on the process. I have downgrade the font scale on IE to smallest and on FF to 9pt, and I get some layout misplacements. :( It's bad because the user should have the possibility to freely choose which font size he/she wants and the site structure should behave. Is this what you and Felix where talking about? If so, could we induce that this is due to several font-sizes cross the css that will end up rounded differently when we change the font size, hence, leading to the visual glitches we see? >Fwiw, I default to fuchsia as a background-color to catch myself from forgetting to declare a background-color on my own >stuff... :-) Very nice idea. I tend to wrongly assume that the white is like standard for everyone and that it can't be changed. Thanks for the tip. If I made some misinterpretation, please let me know. In the meanwhile, I will try to simplify the fonts. Best Regards, Márcio ______________________________________________________________________ css-discuss [cs...@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/