<!DOCTYPE html> <style> @font-face { font-family: Ahem; src: url(../fonts/Ahem.ttf); } * { font-family: Ahem; } </style> <body style="position: relative; display: inline; border-right: 1px solid black; font-size: 100px; line-height: 100px; margin: 0"> <table style="position: absolute; width: 100px; height: 100%; top: 0; left: 0; background: green"></table> </body>