W3C home > Mailing lists > Public > www-forms@w3.org > December 2003

Layout of xforms

From: Raghu Krishnamurthy <raghu.krishnamurthy@oracle.com>
Date: Thu, 18 Dec 2003 12:32:17 +0530
Message-ID: <3FE150F9.75DD695F@oracle.com>
To: Roman Huditsch <roman.huditsch@hico.com>, www-forms@w3.org
Roman
With the  css property called "display" which can hold the value "block" or "inline",it may be possible to control  the
textboxes getting arranged vertically or horicontally.
Thanks for the above info.
Arranging vertically or horizontally is one thing.
Can we have an external stylesheet to control say -
TextArea1 and TextArea2 have to be in row 1
TextArea3 in row2
TextArea4,TextArea5,TextArea6 in row 3 etc

I know I can have one xforms document and have the layout however I want.
But I want  in the xforms document,the ui information to be restricted to say textareas or input fields etc,
and control how they are laid out on the form from another file.

Any help would be great!

Thanks and Best Regards
Raghu


Roman Huditsch wrote:

> Hi Raghu,
>
> I must commit that I haven't tired it on my own yet, because I'm using tables to
> arrange my controls.
> But I know that there is a css property called "display" which can hold the value "block" or "inline" for example.
> With the help of this settings it must be possible to control either the textboxes are arranged vertically or horicontally.
> See http://www.w3.org/TR/CSS2/visuren.html#block-formatting for more details.
>
> Hope this helps,
> Roman
>
> Mag.(FH) Roman Huditsch (hRHU )
> Developer .:. Information & Application Engineering
> _____________________________________________________________________
> hico Informations- und Kommunikations-Management Gesellschaft m.b.H.
> TechLab, Thomas A. Edison Straße 2.
> A-7000 Eisenstadt / Austria
> phone: +43/2682/704-61-73; fax: +43/2682/704-71-61-10
> e-mail: roman.huditsch@hico.com
> mobile: +43/664/4102715
>
> -----Ursprüngliche Nachricht-----
> Von: Raghu Krishnamurthy [mailto:raghu.krishnamurthy@oracle.com]
> Gesendet: Mittwoch, 17. Dezember 2003 14:01
> An: Roman Huditsch
> Betreff: Re: AW: Layout of xforms
>
> Roman
> Thanks for the reply.I am using XHTML and I have  been using css to control the
> font size,color etc.
> But I was not able to control  the layout(one element appearing below another
> versus beside each other,etc kind of look and feel) using css.
> Could you please be a little more elaborate as to how I could do the above.
>
> Thanks and Best Regards
> Raghu
>
> Roman Huditsch wrote:
>
> > Hi Raghu,
> >
> > I suppose you ae using XHTMl as the container language of your choice.
> > If that's the case, you can of course link your xforms document to a
> > customer specific Cascading Style Sheet.
> > That should looks something like:
> >         <link type="text/css" rel="stylesheet" href="customer.css" />
> >
> > All you have to do then is assign a "class"-Attribut to your textareas like
> >         <xforms:textarea class="textarea"...>
> >
> > and define the wanted flow-properties in the CSS like
> >         .textarea {
> >                 display:block;
> >         }
> >
> > I think that should work out.
> >
> > I hope this helped.
> >
> > with best regards,
> > Roman
> >
> > Mag.(FH) Roman Huditsch (hRHU )
> > Developer .:. Information & Application Engineering
> > _____________________________________________________________________
> > hico Informations- und Kommunikations-Management Gesellschaft m.b.H.
> > TechLab, Thomas A. Edison Straße 2.
> > A-7000 Eisenstadt / Austria
> > phone: +43/2682/704-61-73; fax: +43/2682/704-71-61-10
> > e-mail: roman.huditsch@hico.com
> > mobile: +43/664/4102715
> >
> > -----Ursprüngliche Nachricht-----
> > Von: Raghu Krishnamurthy [mailto:raghu.krishnamurthy@oracle.com]
> > Gesendet: Mittwoch, 17. Dezember 2003 13:42
> > An: www-forms@w3.org
> > Betreff: Layout of xforms
> > Wichtigkeit: Hoch
> >
> > Hi all
> > I have an xform where currently I have the ui elements(textareas)
> > appearing one below the other.
> > One of our customers is happy with this.
> > We have another customer who wants the fields to appear one beside
> > another,and yet another who wants 2 fields in the first row,3 in the
> > next row etc( which he wants to define.)
> > Can we apply a stylesheet to the xforms document that can be changed to
> > satisfy each of the above needs of different customers ?
> >
> > Thanks and Best Regards
> > Raghu

Received on Thursday, 18 December 2003 01:56:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:56 GMT