The first argument is the current font-size in px. The second argument is the (parents) line-height in px. The third and fourth arguments are the margins (top/bottom) in multiples of lineheight (so 2 would mean 2xline-height). The fifth and sixth argument are the borders (top/bottom) in pixels.
I output the border widths in pixels because I usually use 1px borders (if any) and they tend to show up rather thicker in some browsers when I use ems. Which I think is ugly.
The fontsize is not output but simply declared on it's own in ems. (Because I cannot figure out how to do this generically).
Msg#: 3771080 posted 1:21 pm on Nov 3, 2008 (gmt 0)
Not a lot of takers, eh Bert36? The last time I seen a vertical rhythm chart was way back in my IBM RPG programming days. I never did understand what in the world a vertical rhythm was for anyway. Probably why you don't see a lot of responses here yet ;)