<!DOCTYPE HTML> <style> @font-face { font-family: Ahem; src: url(../fonts/Ahem.ttf); } * { font-family: Ahem; } </style> <body style="font-size: 100px; padding-top: 5px"> <div style="position: relative; display: inline;"> <table style="height: 50%; position: absolute; width: 50px; background: green"> </table> </div> </body>