Blog archive: February 2009

Having fun with widows

It's amazing the little details your mind sometimes fixates upon when you're deeply into an intense coding phase. I'm currently building a news aggregator interface, and just can't make a seemingly trivial decision regarding headline typography.

The issue is all about widows - single words that appear on their own when text wraps onto multiple lines. Design-wise, these are bad. So I've been using the rather nifty typogrify extension to Django that makes it very simple to replace the final space in a block of dynamic text with a " " so you don't need to worry about the final word wrapping onto its own line.

Continue reading »

© 2019 Associative Trails Ltd. 4m@