Hi
I have tried a two column XForm with varying success. Applying CSS to it has been the hard part. The columns are too narrow or the controls are all cluttered in one box with no apparent order. Is there any sample in the Orbeon Sample set that might show me how two columns are done. I will look at the Orbeon Sample list on my own and see if I can come up with anything. thanks |
I don't think we have a sample ready yet, but we are currently working
on a generic form template which will be part of our generic Form Runner. We usually use HTML tables to do the 2-column layout, as that remains the most reliable method. This allows you to set the column size, in pixels, ems or percent of the table width. Then put one control per table cell, and you should be all right. Do you have an example of the HTML, XForms and CSS showing the issues you are encountering? -Erik On Dec 31, 2007, at 6:43 PM, XGuy wrote: > > Hi > I have tried a two column XForm with varying success. Applying CSS > to it has > been the hard part. The columns are too narrow or the controls are all > cluttered in one box with no apparent order. > > Is there any sample in the Orbeon Sample set that might show me how > two > columns are done. I will look at the Orbeon Sample list on my own > and see if > I can come up with anything. > > thanks > > > -- > View this message in context: http://www.nabble.com/is-there-a-Orbeon-sample-demonstrating-two-column-tp14560265p14560265.html > Sent from the ObjectWeb OPS - Users mailing list archive at > Nabble.com. Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 |
Yes, I do. This 2 column sample has CSS for taking care of the columns. Hope it is of some value to you guys as well.
Should I send you my program?
|
In reply to this post by Erik Bruchez-3
Erik
I have attached my two-column sample. CreateReport_002.xform
|
In reply to this post by Erik Bruchez-3
Should I work on my sample and have it ready as a contribution sample for Orbeon?
Do you think it could be a simple yet effective sample. What are your suggestions?
|
Administrator
|
Yes, definitely. What is the strategy you have adopted so far? Are you using a table, or have you managed to get result you expected with divs and CSS? Alex |
I have a simple table with CSS, divs and fieldsets. I am not sure it renders so well and the alignment is imperfect.
The strategy I have adopted so far has hinged on the use of xforms-group and the .xforms-group (my understanding of .xforms-group is not very clear so far) construct in making a CSS rule. I have tried to apply styles to labels through CSS rules, etc.
|
Free forum by Nabble | Edit this page |