Maths

Okay, so I want to use the Blueprint CSS framework for a website I’m working on.

Page width is worked out with this formula:

Total width = (number_of_columns * column_width) – margin_width

So, I want a page width as close to 950px as possible, but able to divide equally into 7 sections (for the main navigation). By default there are 24 columns, each 40px wide (including a 10px margin).

The answer — after about an hour of tapping keys on my calculator — is a frustratingly simple 910px.

Or 23 columns.

I should have paid more attention in my Certificate of Sixth Year Studies maths class.

I wish maths classes had been more practical. Sure, I can do differential equations until the cows come home … but I’ve no idea when I would actually need to do them!

Published by

Gareth Saunders

I’m Gareth J M Saunders, 46 years old, 6′ 4″, father of 3 boys (including twins). Latterly, web architect and agile project manager at the University of St Andrews and warden at Agnes Blackadder Hall. Currently on sabbatical. I am a priest in the Scottish Episcopal Church, and I sing with the NYCGB alumni choir.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.