Then you would need a ClientSide script to get the size of the scren of the user, you will find a lot of JavaScripts that do that.
To change the size of the box, use a style, eg.:
<input type=text style="WIDTH: 500px; HEIGHT: 50px; FONT: 30px verdana;">