why do textField box view different in IE and Firefox/netscape?

Hello All,

I use textField in my web page. When i use IE, i saw it like creator design page. But when i use firefox or netscape ,i saw textField box greater than IE.

My jsp code are;

<ui:textField binding="#{Product.textField1}" columns="1" id="textField1"

style="height: 24px; left: 24px; top: 120px; position: absolute; width: 120px" text="#{SessionBean1.site}"/>

[399 byte] By [yukelma] at [2007-11-27 11:27:26]
# 1

Without having creator in front of me, the answer centers around that firefox ignores the columns attribute and over-rides it with the css/style width element.

In this case, you have a width of 1 character in IE, and a width of 120 pixels (12 characters?) in firefox.

Using CSS/Style would be the preferred method.

jbjonesjra at 2007-7-29 16:16:11 > top of Java-index,Development Tools,Java Tools...
# 2

I deleted "columns" option. But anything was changed.

<ui:textField binding="#{Product.textField1}" id="textField1"

style="height: 24px; left: 24px; top: 120px; position: absolute; width: 120px" text="#{SessionBean1.site}"/>

yukelma at 2007-7-29 16:16:11 > top of Java-index,Development Tools,Java Tools...