textarea rows differ (fx2/ie6)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

textarea rows differ (fx2/ie6)

Mauno
<xforms:textarea ref="instance('data')/text" xxforms:cols="19" xxforms:rows="2"/>
With firefox textarea is 3 rows and ie6 2.  I'm using latest nightlybuild.
Reply | Threaded
Open this post in threaded view
|

Re: textarea rows differ (fx2/ie6)

Alessandro Vernet
Administrator
On Feb 8, 2008, at 6:32 AM, Mauno wrote:
> <xforms:textarea ref="instance('data')/text" xxforms:cols="19"
> xxforms:rows="2"/>
> With firefox textarea is 3 rows and ie6 2.  I'm using latest  
> nightlybuild.


Those are just copied in the generated HTML. So if you see a  
difference between IE and Firefox, unless you see a problem with the  
generated HTML, this is because different browsers interpret those  
attributes differently. You should have better luck using CSS. For  
instance, the XForms Controls example does:

.textarea { height: 6em; width: 20em; }

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws