Yeah, my style sheet relies on it.

i have got the requirement in form of an html page. it contains divs and
so on, and also form tags. these form tages have an ID, which is defined
in my css style sheet. so i have simply to build the webpage via witty
like it shown in the html page. it doesnt matter how, but it has to look
like the html page.

the way i understood is that i simply have to change the form tags with
containers (WContainerWidget) and set the id in the container which is
denoted in the form tag.

-----Original Message-----
Date: Tue, 16 Jun 2009 13:54:17 +0200
Subject: Re: [Wt-interest] Render HTML Tag <form></form>
From: Koen Deforche <[email protected]>
To: "[email protected]" <[email protected]>,
[email protected]

Hey Markus,

2009/6/16 [email protected] <[email protected]>:
> i have got the requirement, using this tag by default. Maybe there is
a
> chance to overwork this concept by applying the css styles which are
> normally defined in this form tag on each textarea, lineedit,
> combobox... field. how do i solve this problem? if i dont use the form
> tag and just set the id or style class on the "input" fields (named
> above)?

You need to have this tag because your stylesheet relies on it ?

e.g., You have rules that say:

form.form1 * input {

}

If so, can you not simply change that to:

*.form1 * input {

}

and wrap your form in a container widget?

Regards,
koen




------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to