On 2006/11/03 12:41 (GMT) Tony Crockford apparently typed: > I've been in the habit of setting font-size on body to 100.01% because > AIUI it stops IE doing silly small font sizes when you use ems elsewhere > and the .01 is for Opera and a weird rounding issue.
Wasn't Opera fixed in that regard about 3 major versions ago? > recently I picked up the habit of setting body to 62.5% from > http://www.clagnut.com/blog/348/ > which I think is wrong, from what I'm hearing & seeing recently... Some characteristics of that method: 1-a very simple user stylesheet containing only html>body {font-size: medium !important} in order to restore less extreme deviations from his preference will resize things not only larger than the page author intended, but also larger than the visitor prefers. 2-different browsers apply the user's minimum font size differently: http://www.gunlaug.no/contents/wd_1_03_04.html 3-IE truncates the 62.5% to 62%: http://www.nickfitz.co.uk/bugs/browsers/css/IE-Win/ie_percent_test.html > is it okay to set body to 100.01% and then use ems on elements to meet > the designers whim? > maybe I don't mean *okay* per se,[1] but assuming I have to set a font > size to meet a clients brief, which would be the most respectful way? Consider asking the client if he has troubled himself to appropriately adjust his own browser(s) so that unstyled text is the size he prefers. Once he understands that this is the right thing to assume everyone has done, even though some subset of the universe actually goes to that trouble, . . . > 100.01% on body and elements sized using ems (by trial and error) or > some other way? . . . there's no need to set anything other than 100% on body, which also means no need to set anything at all on body. That leaves the size of various elements that the design requires be contextually sized, like captions, footers and headings, to be sized by any appropriate relative sizing method, % & em included. > bearing in mind that I'm working remotely from the designer client, who > is often designing on a Mac what settings would let me choose font sizes > that would look like they match the visual I'm working to, without > causing problems for users with different preferences? > [1] I assume not setting any size is best, but in the real world my > income depends on making web sites match a signed off visual -- "Rejoice and be glad, because great is your reward in heaven." Matthew 5:12 NIV Team OS/2 ** Reg. Linux User #211409 Felix Miata *** http://mrmazda.no-ip.com/ ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************
