File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Display of textbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Display of textbox" Watch "Display of textbox" New topic

Display of textbox

shan blossom

Joined: Sep 06, 2006
Posts: 17
I am using textbox in my form.The size of the textbox displayed in the Mozilla Browser is larger than Internet Explorer.what should be done such that the textbox field is displayed uniformly in all the browsers?
Divya Guttikonda
Ranch Hand

Joined: Mar 09, 2005
Posts: 47
Have you tried using size attribute?Or else use the style sheet width property to size the textbox.
[ September 07, 2006: Message edited by: Divya Guttikonda ]
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63852


There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

JavaRanch Sheriff

[Asking smart questions] [About Bear] [Books by Bear]
shan blossom

Joined: Sep 06, 2006
Posts: 17
Thanks Divya .I have mentioned the size attribute.but if I have mentioned size as 10px in css file means,textbox display size is different in Mozilla and Internet Explorer.
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
Is the width 10px or the size attribute? It should be width.

shan blossom

Joined: Sep 06, 2006
Posts: 17
Sorry I have mentioned the width only.
I agree. Here's the link:
subject: Display of textbox
It's not a secret anymore!