Tuesday, January 1, 2013

different gwt-textbox height in IE9 and FF13

I found that for gwt-textbox (without modify any of its css attribute), when render in IE9, the height is 22px but NOT including padding-top, padding-bottom, border-top-width, border-bottom-width, so in IE, the gwt-textbox is in fact 22+1+1+1+1 = 26px;
but in FF13, the height 22px is including padding and border, so in Firefox, the gwt-textbox height is really 22px.

why has these difference?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/w_Kr-e7lqR8J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment