input box height issues
- by Steven Xu
I'm trying to set an input box with a specific internal height, and I'm running into issues:
font-size: 12px; line-height: 12px; height: 12px; display: block; padding: 5px;
Is a sample of what I put in inline styles or stylesheets. I would expect the input box value to be visible at full height, but the inner height of the input box ends up being really small, and it always seems to follow the form:
actual inner height = css height - 2*border width - 2*padding
Funny, because I swear I've done this before without issue. What am I missing?