What exactly is the problem?
That you are using hardcoded sizes or that the input element allows more text to be entered than its size?

Cheers,
_