Page 13 of 13

Font sizing: Pixels, em’s, points, oh my!

CSS-Tricks has written a good overview of the different available font sizing options within CSS including their limitations and browser peculiarities. At MarketNet our standard practice is to specify the font-size on the body tag using pixels for precision and then em‘s through the rest of the stylesheet. This allows us to easily change the size of all type on the site simply by modifying the value set on the body tag, possibly using a JavaScript font-resizer.

Link: px – em – % – pt – keyword

Search jQuery documentation from Spotlight

Just found a great productivity tool for Mac web developers from blogger Mika Tuupola, a native jQuery API dictionary for Mac OS X 10.5. Once downloaded and set up you’ll have access to the documentation within the dictionary, Spotlight searches, and via the contextual info popups in your text editor or Safari. No need to be online to access docs.jquery.com anymore.

Head over to Mika’s site for more instructions and the dictionary download file.

Note: There’s also a similar Ruby on Rails dictionary file available for download.