Group Appearance

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

Group Appearance

Jim Logan-3
Does anyone know how to make the rendered outline of <xforms:group
appearance="xxforms:fieldset"> only as wide as necessary, rather than
100% of the browser window? I tried setting its CSS class width to auto,
but that doesn't work. I can constrain the maximum, so I know I've got
the right CSS class.

Thanks,
-Jim



--
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
Reply | Threaded
Open this post in threaded view
|

Re: Group Appearance

Alessandro Vernet
Administrator
Jim,

On Wed, Jun 11, 2008 at 11:44 AM, Jim Logan <[hidden email]> wrote:
> Does anyone know how to make the rendered outline of <xforms:group
> appearance="xxforms:fieldset"> only as wide as necessary, rather than 100%
> of the browser window? I tried setting its CSS class width to auto, but that
> doesn't work. I can constrain the maximum, so I know I've got the right CSS
> class.

It's a tricky one: add display: inline on your fieldset.
Don't you love CSS? It is so intuitive! ;)

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/
Twitter - http://twitter.com/avernet


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Group Appearance

Jim Logan-3
Alessandro Vernet wrote:

> Jim,
>
> On Wed, Jun 11, 2008 at 11:44 AM, Jim Logan <[hidden email]> wrote:
>  
>> Does anyone know how to make the rendered outline of <xforms:group
>> appearance="xxforms:fieldset"> only as wide as necessary, rather than 100%
>> of the browser window? I tried setting its CSS class width to auto, but that
>> doesn't work. I can constrain the maximum, so I know I've got the right CSS
>> class.
>>    
>
> It's a tricky one: add display: inline on your fieldset.
> Don't you love CSS? It is so intuitive! ;)
>
> Alex
>  
Thanks, that did the trick. Not exactly something that's easy to Google,
that's for sure!

-Jim



--
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