The ideal measure on the web

A while ago I created a tool to help you define the ideal length of line for text on the web. You can adjust a few variables, like font-family and language. When you slide the slider it shows you how many words there are on a line, or how many characters. You can now choose an ideal measure depending on the theory you like most (10 words or something between 45 and 75 characters). It turns out there’s a much easier way to define an ideal measure, according to Bringhurst.

Exciting, what is it?

How big is an em?

You can’t use the em as a unit in most pixel-editors. If we use these types of editors in our design process, this means that we have to calculate em-sizes from pixel-sizes. And if we do that, an em seems like a terribly complex unit. Pixels use the simple metric system, which is easy to use. We all know how to count from 1 to 10. If we calculate em-sizes from pixel-sizes we’re suddenly working with multiples of 16, instead of 10. Which is much harder.

But pixels are hard as well

The weird 62.5% antipattern

There’s always been a problem with using the em on the web. The core of this problem is that there is no option in Photoshop to use the em as a unit. That’s really the only reason we use pixels. We have to use them in Photoshop. This pixel-thinking has influenced our em-thinking. Many developers use calculators to turn pixel-values into em-values. And thus we turn a pixel-perfect photoshop template into a pixel-perfect, but fluid website. But turning pixels into ems is hard. They don’t really match. They result in crazy numbers. There is a very clever hack that tries to solve this problem. But, as with all hacks, it creates new, worse, problems.

What’s the trick?

Use the em and the rem for the right use cases

The em unit is a very useful unit. You should use it to set the font-size of the typography in your web project. It’s a wonderfully flexible unit. If you set up a typographic scale — with a tool like Type Scale or Gridlover for instance — and later on in the project you find out that the ratio is beautiful but the font-sizes are too small, it’s very easy to fix. Simply increase the font-size on your HTML element and you’re done.

Sure, sounds easy

Weg met “U Vraagt Wij Draaien”

Bijna iedereen ziet inmiddels wel in dat de watervalmethode niet geschikt is voor het maken van websites. Dat werkt goed in een productie-omgeving, zoals een fabriek, maar de meeste websites zijn uniek. Het maken van een website is geen productie, het is een design-proces.


Front-end masterclasses are canceled

Together with some excellent and well known front-end and design nerds here in the Netherlands and Belgium I organised a series of masterclasses for medior level front-end developers who want to grow to senior level. Unfortunately I had to cancel these masterclasses. There were not enough registrations. I’m trying to find out why there were so few people who were interested. I’ve thought of some reasons, and I’ve heard a few others from people I asked, but maybe you know a reason I don’t know yet. Please let me know. I’d love to keep organising such masterclasses in the future. Successful ones.


Keep items in a single column

Every afternoon at 13:37 my server generates a PDF. It’s been doing this for a few months now and I wanted to share these PDFs with the world. Multi-column layout is an excellent way to display such a big — and growing — list. There was a problem though: sometimes the date of the last item in a column was shown in a different column than the Download-or-buy-this-book-links. There is a way to prevent this from happening.

What is it?

Clock (model 103)

Yesterday Maarten P Kappert posted a link to a beautiful clock. It’s a brilliant design. The lines that indicate the hours are drawn in a strange way, yet the end of the lines perfectly show you the time. The other detail I love is the long hand of the clock: it is longer on the other side of the center, which is weird, but seems to work well. I wanted to see this clock displaying the real time, I wanted to be able to use it. I’m not rich (or lucky) enough to buy a real one, so I created one for myself.

Haha, that’s crazy