Discussion board
Resizing input text box width using external CSS
By Bikash Kumar Singh
I had to use inline CSS to resize the width of input textbox. Please see the following code. Is there a way I can put the style inside the login2 ID or any other way.

#login2{

margin-bottom:10px;

}

<div id="login2"><input type="text" name="" style="width:100px" /></div>
Reply
Post   Reset
Navneet Khanna replied to Bikash Kumar Singh Friday, September 04, 2009
Hi Bikash
There is no need to use style inside input tag. We have width and height property to set the text box height and width.

<input type="text" name="" width="100" />

I hope it solves your problem.
Regards