Page 1 of 1

Formbuilder CSS problem

Posted: Sat Aug 18, 2007 8:54 am
by erpee
On my website I use a form created in Formbuilder (0.3) I use the foillowing CSS:

Code: Select all

<style type="text/css">   
.contactform fieldset {padding: 1em; background-color: #eee;}       
.contactform fieldset legend {font-weight: bold;}       
.contactform div {width: 100%; padding: 0.25em 0 0.25em 0;}       
.contactform div label {display: block; width: 50em; }       
.contactform div.required {color: #f00;}      

.keuze fieldset {padding: 1em; background-color: #eee;}       
.keuze fieldset legend {font-weight: bold;}       
.keuze div {padding: 0.25em 0 0.25em 0;}       
.keuze div.required {color: #f00;}   
</style>
The first part (.contactform) of the CSS puts the field name on top of the textinput. The second part (.keuze) should keep the appearance the same but, should put the field name in front of e.g. the textinput.

I linked the second part to my CheckBoxGroup. but nothing happens. What should I do?

You can find it here: http://www.pritonart.nl/cms/index.php?page=uitgebreide-aanvraag

Re: Formbuilder CSS problem

Posted: Sun Aug 19, 2007 9:25 pm
by KO
When looking that page I could not those styles attached. Add stylesheets to your templates.

br, K

Re: Formbuilder CSS problem

Posted: Sun Aug 19, 2007 9:36 pm
by Dr.CSS
They are inline, in the template...

Re: Formbuilder CSS problem

Posted: Tue Aug 21, 2007 12:26 pm
by erpee
mark wrote: They are inline, in the template...
I know, that where I've put them. That's alse the reason why I think it's strange that it doesn't work...

Re: Formbuilder CSS problem

Posted: Wed Aug 29, 2007 2:23 pm
by erpee
anybody?