I’ve been using a % based layout in the latest version of Scherzo. Here are a few observations:
- % based layouts should only be applied to wide screens
- Common sense this, but applying a 75% width to a 240px wide screen results in a very narrow content column. Generally, I apply (small) margins and paddings to my base stylesheet and only set a
width=x%for wider screens. - Go mad and use most of your available space
- Scherzo 3 uses 90% of the screen, plus some
3ems of padding. Using most of the available screen looks good. -

Scherzo at 75em
- Set a
max-widthas well - Because a lucky few people have really wide monitors, I set a maximum width of 75em. This means the Scherzo 3 content column won’t expand beyond 707px (assuming the user hasn’t upped the font size), which is a decent enough limit for reading 16px Georgia comfortably.
- % calculations are absolute
- Sounds odd, but if you use
ems to define your website layout, changes to the basefont-sizewill affect font size and your layout. While this is logical, most people are only looking to change the size of the font rather than the layout dimensions. - Furthermore, upping the base font size in an
embased layout can result in a horizontal scroll bar should the calculated width extend beyond the width of the screen. 90% of the screen width, on the other hand, is an untouchable value.