Bug in Dynamic JavaScript Tabs

There's a bug in the Dynamic JavaScript Tabs code that I wrote. If you have "too many" tabs then they go onto a new line and look really ugly. It's a CSS issue that I haven't solved yet..

Anyone out there have any idea why I can't have 7 tabs? If you do, I'd appreciate a pointer!

Update
I've now worked out what it is and I'm being brain dead :) I set the width to 45em!

If you would like to comment on this article, please ping me on twitter.
If your response won't fit into 140 characters, write a blog post and then ping me!