For the record, this took me FOREVER to do. It's the first time I've ever used ems in CSS, and whilst they're amazingly awesome, they're a total bitch to get right! My maths is terrible anyway, so getting this correct took a lot of calculating and working out. Fortunately I think I've nailed the formula and now I'm in love with web typography
Check it out!
http://lab.suicidaltenants.net/grids/1.html
Press alt+g to see the grid.
Have a peak at the source to see my annotations. By the way, you can get the grid system I used here: http://hashgrid.com/
Pre-emptive: I know it's just a pixel or 2 off, I'll fine-tune it tomorrow. I was just set on at least getting it to stay between the grid lines for tonight (+8 on the margin I think!)
Bookmarks