[opencms-dev] Webform Generator Module - CSS template

Graeme Kidd coolkidd3 at hotmail.com
Tue Sep 13 13:15:47 CEST 2011


First I would ask that you make doubly sure it’s not being pulled in, the styles being applied in the CSS are only very subtle. Just do a Ctrl+F on the generated source code to check if the "webform.css" file does indeed exist. Due to the template system it won’t simply show at the top of the page so make sure you do a proper search.

The only time you might notice the style sheet being used is when you try and submit a form with a error, if you get red text then chances are its being used. The default style also make big use of "display: inline-block;" to align the input fields with the labels on the same line without using tables. However this will only appear in browser other than IE6 and IE7 which might give an even basic layout.

Also note you can specify a CSS file for individual forms in the "Additional Configuration" tab, overriding the module default. If you have this set to your own CSS file then the default "webform.css" file might not show.

Hope that helps,
Graeme
 		 	   		  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sitback-logo.jpg
Type: image/jpeg
Size: 8308 bytes
Desc: not available
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110913/616d2743/attachment.jpg>


More information about the opencms-dev mailing list