I also use pt on all of my sites, and it will _appear_ to be working fine. However, try and view the same site, with the same font, in the same browser, in more than one operating system and you'll see a large (and annoying) difference.
If Linux or BSD users aren't your target user base then you may be fine, however I've found that text over in Linux land tends to render much differently than in Windows. With that in mind, I should really do a comparison of the different sizes so I can figure out what's up. Despite this, I usually just "code around" the problem by providing text in a way that I can use pt and not destroy the flow/layout of my page with the differences in size. However if this isn't an option for you, you may want to try the formatting with em's stylesheet provided in the article you listed below. I believe that the em stylesheet provided proper results across browser and operating system. (YMMV) Final conclusion, vector fonts suck.. lets go back to monospaced fonts. :P -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Andrew Kaspick Sent: Wednesday, July 05, 2006 1:48 PM To: rails-spinoffs@lists.rubyonrails.org Subject: Re: [Rails-spinoffs] Text sizing I didn't see any reference to using pt for fonts. I use pt for most of my fonts and sizes seem the same across browsers. Is there some big bad reason for not using pt for fonts that I'm unaware of? On 7/5/06, Sam <[EMAIL PROTECTED]> wrote: > > > > I've had to worry about how different browsers render different screen sizes > for text for years. I don't want to use "px" for font-size as IE will > cripple the browsers "VIEW, Text Size" control. We need to keep the > text-size browser control fully operational for accessibility and usability. > At the same time, we want text-laden pages to render "approximately" the > same across all browsers on page load, normal text-viewing-size. > > My reference on the subject has been the work of Owen Briggs: > > http://www.thenoodleincident.com/tutorials/box_lesson/font/index.html > > This work gets close, but for my purposes, it could be improved. Firefox > will always renders text noticeably larger than IE and these are the two > most significant browsers in our user base. The page layouts differ more > than I would like. > > Using JavaScript, it might be possible to get a better match in IE and > Firefox text-size by detecting the browser type and setStyle on the body > {font-size: value} to a browser-specific setting such that the "normal" > rendering size was the same across all browsers. > > Before I go off and invent the wheel again; has anyone seen anything like > this done elsewhere? > > Sam > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > > _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs