I can't center a formBuilder form for my life!!
Posted: Thu Jan 06, 2011 7:26 pm
Hi everyone, I have been trying for 3 hours literally to center this stupid form... and it's not working of course!! please help.
I am calling the form with {FormBuilder form='sunlight-sms'} inside a content block
I have tried enclosing it on a div <div align="center">{FormBuilder form='sunlight-sms'}</div>
I have tried setting the margin right and left to auto on the css
I even places the <h2> tag inside the formBuilder form submission template
When I use this <div align="center">{FormBuilder form='sunlight-sms'}</div> it just centers the form but not the <h2> header that I have on the form template? why? if by centering this div it should center the whole form...
anyways, please help me, thank you!
Regards
I am calling the form with {FormBuilder form='sunlight-sms'} inside a content block
I have tried enclosing it on a div <div align="center">{FormBuilder form='sunlight-sms'}</div>
I have tried setting the margin right and left to auto on the css
I even places the <h2> tag inside the formBuilder form submission template
When I use this <div align="center">{FormBuilder form='sunlight-sms'}</div> it just centers the form but not the <h2> header that I have on the form template? why? if by centering this div it should center the whole form...
anyways, please help me, thank you!
Regards