This week I saw this: http://www.simplebits.com/bits/minitabs.html and tried to make it by myself, using em’s.
I made the following code and it’s almost perfect… But at the largest size (when you increase font-size with command and + or ctrl and + for windows) the bottom-border is a little to low…