Working together for standards The Web Standards Project

Detecting when good fonts change size

By Aaron Gustafson | September 12th, 2006 | Filed in Design, DOM, DOM Scripting TF, Usability

Designing for the web is challenging enough, but when you need to take into account scaling font-sizes, it can quickly become a nightmare. The common wisdom is to design your pages to accomodate fonts two sizes up and two sizes down from the default, but with this new script from two clever Yahoo! blokes, your can get way more clever.

Skip to comment form

In the new issue of A List Apart, Yahoo! developers Lawrence Carvalho and Christian Heilmann (who is also a DSTF member) walk us through a new script allowing you to trigger events when the font size is increased or decreased in a browser.

This was by no means the first time it has been done, but it is an incredibly solid implementation and a great tool to have in your utility belt alongside CSS Drop Columns and Browser Size-Dependant Layouts. Lawrence & Christian offer a few suggestions for how to use it, including

But I’m sure you can come up with more.

Your Replies

#1 On September 12th, 2006 4:52 pm Greg replied:

I’ve been using Thunderbird for RSS, and reading this article was kind of confusing because the text in the black portion doesn’t show up.

#2 On September 12th, 2006 9:32 pm Dylan replied:

Actually the small excerpts/descriptions don’t show up in the feed at all, so it isn’t a Thunderbird issue. I believe the author misused the excerpt space in this case.

#3 On September 13th, 2006 9:24 pm WaSP Member agustafson replied:

Sorry about that… it’s only my second buzz. It has been corrected.

#4 On November 17th, 2006 12:45 pm Joppe Houpt replied:

Same as Greg Im also using Thuberbird. A program that I love for RSS. I normally use the rss file from Humorlog.

Return to top

Post a Reply

Comments are closed.

All of the entries posted in WaSP Buzz express the opinions of their individual authors. They do not necessarily reflect the plans or positions of the Web Standards Project as a group.

This site is valid XHTML 1.0 Strict, CSS | Get Buzz via RSS or Atom | Colophon | Legal