1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
<!DOCTYPE html> <html> <head> <style> input { width: 10px; height: 1.5em; outline: 1px dotted black; background: white; /* Disable baseline alignment, so that our y-position isn't influenced by the * choice of font inside of input: */ vertical-align: top; } </style> </head> <body> <input> </body> </html>