Page 1 of 1

Problems with CSS & FormBuilder

Posted: Mon Dec 15, 2008 11:22 pm
by djkirstyjay
Hi there,

Can anyone help with a little problem I seem to be having when I add a form using formbuilder to my CMSMS?

The page the problem is on is here :
If you look at the bottom of the page, the main content background is going to the bottom of the page. This only happens on the contact page with the form. On other pages you will see that it's displaying fine.

I have looked through the form CSS, the page CSS and I cannot find anything that would do this.

Can anyone point me in the right direction as to why this is happening?... as I'm getting code blind from starring at the screen! lol

Thanks in advance!

Kirsty

CMSMS Version : 1.5.1 'San Juan'
Formbuilder Version : 0.5.5

Re: Problems with CSS & FormBuilder

Posted: Tue Dec 16, 2008 1:41 pm
by SideshowBob
Hey Kirsty,

I don't think this is anything to do with FormBuilder, your closing div tag for #main-page is in the wrong place. I find it useful to put a comment next to each div close tag so I know what it is closing it makes debugging and amends much easier.

Run your pages through the W3C html and css validation service too as there are quite a few little issues that need fixing, this might save you some head scratching later on.

Hope that helps,
Bob

Re: Problems with CSS & FormBuilder

Posted: Tue Dec 16, 2008 3:33 pm
by djkirstyjay
Thanks for that... it was the formbuilder, as I stuck it through validation and eliminated errors one by one to find there was a closing div tag missing in the formbuilder form template. I've just hunted it down and it's working correctly now!

Ta! ;D