2010
05.02
05.02
For a website I was creating I needed some superscripted text. After using a reset.css, <sup> just looks like normal text, so I needed to define it manually. But how?
According to the W3C you should do it like this:
small,sub,sup { font-size:.83em; } sub { vertical-align:sub; } sup { vertical-align:super; }
The result looks like this:
25th Level
References:
No Comment.
Add Your Comment