Gavin Shinfield

Say no to ugly widows – widon’t for the masses

OK, this may sound a bit funny and it may be considered over-attention to detail, but it can really spoil a design and potentially hamper reading when a headline doesn’t quite fit on a single line and leaves you with one word hanging underneath. That’s what we mean by a ‘widow’.

This is particularly relevant to newspaper sites or blogs where the headline may form a central feature to the look of a whole page. It’s not just headlines though, even in body copy widows are generally considered poor style and should be avoided. But how to control them in a content-managed site? Luckily for those of us that worry about such things there’s Widon’t.

I’m a bit late to the party on this one as it was released in 2006 but Widon’t is a neat little plugin for the Wordpress blogging engine, it was developed by Shaun Inman of sIFR fame to solve this very problem for Newsvine.com.

The plugin is basically a simple PHP statement that inserts a non-breaking space which causes the penultimate word to wrap, simple but effective.

Well, now Dave Cardwell (davecardwell.co.uk) has published this neat JQuery plugin so that anyone who uses the JQuery framework can achieve the same typographic perfection without breaking a sweat.

See more posts

Comments: 2

Christopher
commented on

I've always considered this a problem, but never had a clue of how to properly address it. Great jQuery resource! That'll definitely go into the toolbox. Keep up the great finds!

Daren Guillory
commented on

Lovely, Thank you. The Elements of Typographic Style, www.webtypography.net should implement this on their site.

Add a comment

Note: comments are moderated before publication.

Most Popular

Web Meet Guildford is back

Paul Sturgess

After the resounding success of the first Web Meet Guildford (WMG) we’re excited to announce that we’ll be hosting another meetup later this month. So if you make websites and you live or work in the Guildford area, please do join us in the 3 Pigeon’s pub on Guildford High Stree…

Website easter egg

Piers Palmer

We decided to have a little fun now that summer is over, combining some design yumminess and behavioural goodness. See if you are up to the challenge! Can you find the indomitable and mighty web geek PROFESSOR WAKE on our website. He’s hiding there somewhere… A littl…

Kyan.com design process

Lee Whitelock

It’s great when you get a project you can really sink your teeth into. We pride ourselves on the effort we put into all our projects, of course, but when it’s for your own agency you can really ‘go to town’ and try new things. Our current website was out…

Free Wifi in Guildford

Peter Roome

I was asked by a friend today if I could recommend any bars/restaurants/cafés in Guildford where she could access free WiFi on her laptop. Besides Giraffe I wasn’t aware of anywhere else in town so I posted the question to Yammer in the office and received a number of help…

Google+