Sam Collett wrote:
Another problem is that it wouldn't work if you use % for font size (which is true in my case). Getting the height may be a good option (although that also includes padding).
You simply need to use a reference element that doesn't have padding and borders.
--Klaus