Wednesday, September 4, 2013

CSS magic: Upper index fix

Inserting an upper-index character into a text with <sup> can cause the line-height do deviate. A quick solution can be this css code:

 sup {  
     vertical-align:top;  
     font-size: 0.5em;  
 }