html, body { padding: 0; } textarea { width: 50px; height: 50px; padding: 0px; background-color: #f8f8f8; resize: none; font-size: 3px; border-width: thin; } canvas{ }