Help On Tables

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

Help On Tables

Martin Conway (mconway)

Hi all,

Apologies if this seems like a dumb question but I've only just started working
with Orbeon Forms.

I am trying to put an xforms:input control into a cell in a table. I want the
control to fill the entire cell in the table. However, despite tweaking the CSS
class for the table I am always left with a gap on the right hand side of the
cell.

I'm sure there is a simple method of ensuring that the the control can be sized
to occupy the entire cell but I am struggling to get a result.

All help welcomed.

Martin


--
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: Help On Tables

fl.schmitt(ops-users)
Martin,

> I am trying to put an xforms:input control into a cell in a table. I want the
> control to fill the entire cell in the table. However, despite tweaking the CSS
> class for the table I am always left with a gap on the right hand side of the
> cell.

This may be caused by an inactive xforms alert that's placed right to
the xforms control. Both the active and the inactive alert have the
following css style:

.xforms-alert-inactive, .xforms-alert-active {
     display:-moz-inline-box;
     font-size:0pt;
     height:16px;
     margin-left:0.25em;
     overflow:hidden;
     text-indent:16px;
     vertical-align:middle;
     white-space:nowrap;
     width:16px;
}

So you could try to set the width, the indentation and the left margin
of the inactive alert to 0.

If you're using firefox, you could install the firebug add-on that helps
greatly to check the html source and the css applied to the different
controls.

HTH
florian



--
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: Help On Tables

Martin Conway (mconway)
Thanks Florian,

That's cracked it.

Martin

-----Original Message-----
From: Florian Schmitt [mailto:[hidden email]]
Sent: 11 July 2008 14:47
To: [hidden email]
Subject: [ops-users] Re: Help On Tables

Martin,

> I am trying to put an xforms:input control into a cell in a table. I
> want the control to fill the entire cell in the table. However,
> despite tweaking the CSS class for the table I am always left with a
> gap on the right hand side of the cell.

This may be caused by an inactive xforms alert that's placed right to
the xforms control. Both the active and the inactive alert have the
following css style:

.xforms-alert-inactive, .xforms-alert-active {
     display:-moz-inline-box;
     font-size:0pt;
     height:16px;
     margin-left:0.25em;
     overflow:hidden;
     text-indent:16px;
     vertical-align:middle;
     white-space:nowrap;
     width:16px;
}

So you could try to set the width, the indentation and the left margin
of the inactive alert to 0.

If you're using firefox, you could install the firebug add-on that helps
greatly to check the html source and the css applied to the different
controls.

HTH
florian



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