PDA

View Full Version : Too much space in content div


WilliFixit
09-10-2009, 02:16 PM
I have inserted a CSS Form Builder form into a WebAssist template from SiteAssist Pro. When I do so, the form shows up well below the top of the content section, looking like there is a lot of extra space. How do I fix that?

Please see attached png.

Thanks.

Jimmy Wu
09-10-2009, 05:00 PM
If you change the lines similar to these in your FD_NewFromBlank_Default.css file:
form.NewFromBlank_Default li.formItem {
clear:both;
}
form.NewFromBlank_Default fieldset.NewFromBlank_Default {
clear:both;
}

to have the clear property be none, the form will be at the top.

form.NewFromBlank_Default li.formItem {
clear:none;
}
form.NewFromBlank_Default fieldset.NewFromBlank_Default {
clear:none;
}

You will also have to change the overflow on the content wrapper to be visible instead of hidden if you want the entire form to show.