Richard Rutter, the author who had previously introduced the 62.5% rule for sizing text using ems, has written an aritcle that outlines a best practice for consisitent text sizing that satisfies designers and user’s and works across browsers and platforms.
Richard obviously put a lot of time and effort into this article taking some 161 screenshots for the task, which was "to size text that allows designers to retain accurate control of typography, without sacrificing the user’s ability to adjust his or her reading environment."
Using ems to size the text and line height and a precentage for the body Richard has shown that this technique is a best practice for sizing text using CSS that satisfies both designers and readers.
The final CSS is below but please read the full article for a complete rundown of this technique.
body {font-size:100%;line-height:1.125em;}.bodytext p {font-size:0.875em;}.sidenote {font-size:0.75em;}<\!--[if !IE]>-->body {font-size:16px;}<\!--<[endif]-->No comments have been added yet for this article. We've all got an opinion so feel free to share yours below =)
Your email address will NEVER appear on this site OR elsewhere
Spam, silling flaming or anything out of line will be deleted
A link is provided to your website, but please use your name. Any keyword stuffed names will be deleted
Please be polite, respectful, and on-topic in your comment
We are all after traffic to our sparkling new site or freshly written article that we want the design comunity to read, but it's not easy getting on the front page of Digg's design section.
Monday 10th March 2008Blogwell has put together an impressive list of over 100 resources that are helpful to Web Developers.
Wednesday 5th March 2008Last month Smashing Magazine asked their readers to create create a gallery of blog header graphics which every designer could use for free and without any restrictions whatsoever. This post presents the results of the contest.
Wednesday 5th March 2008As promised here is the follow up to last weeks article "Twelve Things Most Wesbites Need - Part 1"
Wednesday 5th March 2008Nick La has posted 10 jQuery Tutorials over at Web Designer Wall.
Sunday 2nd March 2008