Help - Search - Members - Calendar
Full Version: Textbox Issue
Zymic Webmaster Forums > Web Design & Development > General Web Design Discussion
d4rk
Hello everyone,
I'm having a problem like this :
there're 2 textbox ( user name and password ), but they aren't the same size, i change each other's size but they seem can't be as the same, this's my HTML code :
CODE
<input id='InputText' name='UserName' value='' size='22'><br />
<input type='Password' id='InputText' name='UserName' value='' size='22'><br /><br />

I hope someone can tell me how to solve this
Thanks
fenerli
Setting the size with HTML is or should be only a fall back for ancient browsers and perhaps handhelds. The recommended practice is to use CSS to set the width, e.g. style="width: 15em;". Of course, I advise using a style sheet and not inline styles.
d4rk
Thanks, it works !!!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.