Using the size attribute to control the field width of a text input is not recommended.
In our demos at http://www.netspread.com, we use style="width: 100pt;" for many input fields. Note that the "pt" is one of absolute units used by browsers. It gives you the ability to control the screen layouts regardless what resolutions and what fonts the end users are using. So our demos works on screens with resolution 1600x1200 and 1024x768 and with different font settings. Jing Netspread Carrier http://www.netspread.com ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 15, 2003 9:04 AM Subject: Text tag size > Hello everybody, > > I'm having a problem which I think nobody ever had. > > I need to create a form with multiple (equal) lines. Each line will > have a few text boxes. It's made to work on a 800x600 resolution. > > While I was trying to reduce the size of every text box, I've noticed > that if I create an HTML file with: > <input type="text" ... size="1"> > > and if I create a JSP, using Struts, with: > <html:text ... size="1"> > > the sizes shown on the screen are different. The first one is smaller > than the second. As I have many text boxes and a 800x600 resolution, > I need every single pixel that I can get. > > Can you help me with this? I need to "shrink" Struts text tag. > > Thank you > > Rúben Carvalho > > ______________________________________________________________________ > Registe-se nas e-newsletters profissionais da Dashöfer, sem qualquer > custo, e habilite-se a ganhar fabulosos prémios! Subscreva já! > http://xekmail.aeiou.pt/dashofer > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]