Although I do not have the fortune of owning an iPad (yet), one feature on Apple’s website got my attention: the 1024 x 768 resolution. I had been debating a thought for a while, but this made me certain: my website was too wide. So I changed my grid. My previous system used columns with gutters that stretched to a width of 1120 pixels total. Now there are no gutters, only 60px columns and it’s all contained in 960 pixels. When I need a gutter, I use the space of an empty column.
Luckily for me, my layout was very flexible. The transformation only took about 10 minutes to implement! What made this transition so simple was the system I used to make columns. Instead of setting widths for every element, I simply give something a class of “four-column”. I like this technique because it means I don’t have to clutter my stylesheet with the same numbers over and over, and changing numbers site-wide is incredibly quick. Of course the change was also made easier by the fact that this site is very new. I have little content and I have yet to implement any art-directed articles—but that will change soon (hint hint).
If your viewing this on the article page itself (and not in a feed reader or on the blog page) you should see the new grid underneath the article. Khoi Vinh taught me that little trick, and I think it’s genius. So let me know what you think—an improvement?
The Discussion
I would not be able to answer your last question, as this is my first time here, but here’s something to consider -
The iPad has a resolution of 1024×768. This doesn’t bother me much, as my mindset is still stuck back in the time when that resolution was the big resolution, and 800×600 was the common one. But: the iPad can be rotated, in which case your site will be viewed from a resolution of 768×1024. If the tablet form factor becomes popular, you can bet there will be tablets around with more uncomfortable resolutions, such as, say, 1024×700. This is a solution I like — http://css-tricks.com/resolution-specific-stylesheets/ — though I guess it requires having multiple stylesheets to implement efficiently.
That’s a good point. In terms of rotation, I am fine with that because I think that if someone comes to my site with the iPad vertical, they could easily rotate horizontal (and probably wouldn’t mind doing so).
Maybe when a weird resolution tablet starts getting a noticeable market share I’ll have to rethink the layout again. (But until then I’ll stay lazy!)
Thanks for the link to that article. Might come in useful when I get around to make this site mobile-friendly. And welcome!