dumb style question

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

dumb style question

danc-3
For whatever reason, I can't seem to figure out how to resize an XFORMS:INPUT field.  I have a few fields that I need to be 400px wide, however, no matter how I set the style for the field, it just remains at it's default size.  It seems like the WIDTH value property is ignored.

Any clues?

- Dan



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: dumb style question

Alexander Žaťko
xhtml:size attribute name works for me.

On Dec 12, 2005, at 7:15 PM, [hidden email] wrote:

> For whatever reason, I can't seem to figure out how to resize an
> XFORMS:INPUT field.  I have a few fields that I need to be 400px wide,
> however, no matter how I set the style for the field, it just remains
> at it's default size.  It seems like the WIDTH value property is
> ignored.
>
> Any clues?
>
> - Dan
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws



--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: dumb style question

Ryan Puddephatt
Dan,
        If you want to resize and style a few inputs try adding a class to
it e.g.

<xforms:input class="wide-input"/>

In the CSS file you will need

.wide-input input {
        width: 400%;
}

As the class is applied to the surrounding span, which is probably what
happened to the width attribute. I've used this in OPS 3.0 beta 4 release
and it works fine!

Ryan Puddephatt
Web Developer
TFX Group
1 Michaelson Square
Livingston
West Lothian
Scotand
EH54 7DP
 
* [hidden email]
( 01506 407 110
7  01506 407 108
 

-----Original Message-----
From: Alexander Zatko [mailto:[hidden email]]
Sent: 13 December 2005 00:38
To: [hidden email]
Subject: Re: [ops-users] dumb style question

xhtml:size attribute name works for me.

On Dec 12, 2005, at 7:15 PM, [hidden email] wrote:

> For whatever reason, I can't seem to figure out how to resize an
> XFORMS:INPUT field.  I have a few fields that I need to be 400px wide,
> however, no matter how I set the style for the field, it just remains
> at it's default size.  It seems like the WIDTH value property is
> ignored.
>
> Any clues?
>
> - Dan
>
>
> --
> 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
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws





--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws