Centering a form in RSD created in...

User 2054663 Photo


Registered User
19 posts

Hello. I'm not a coding expert (which is why I love RSD), but was wondering if there was a way I could "center" my forms created in WFD, in RSD? I used to use the "export manually" option, let WFD use the auto margins and then go into the CSS afterwards and edit the margins - because I didn't like all the default space around the form on my web page. However, my forms haven't been working on GoDaddy for a while and after reading some CoffeeCup threads, I switched over to S-Drive. Forms work great, but I can no longer get into the CSS of the forms. When I create my own margins in WFD and then paste the code into RSD, the form is always left justified. I've tried using the "inline-block" option and it then kind of left-center-justify's the form. Any ideas? Thank you!
User 122279 Photo


Senior Advisor
11,592 posts
Online Now

Please post your project (zip it up and pop it into your dropbox or similar). If we could see the problem, it would be easier to help.
Ha en riktig god dag!
Inger, Norway
My new honey site, built with RFF: http://www.horgenhonning.net/
Component sharing for RFF, RBB, RSD and SD: http://www.horgenhonning.net/sharing/


User 2054663 Photo


Registered User
19 posts

Thanks and sorry, should've at least posted the links where the forms are. Are you referring to the RSD file or the full exported site (minus the folders that have nothing to do with my issue).
https://hamptonpresbyterian.net/events.html - about half-way down the page
https://hamptonpresbyterian.net/contact.html
https://hamptonpresbyterian.net/weddingmusic.html
User 122279 Photo


Senior Advisor
11,592 posts
Online Now

I see that the forms are a bit too far to the left. But in order to help, I actually need to see the rsd file.
Ha en riktig god dag!
Inger, Norway
My new honey site, built with RFF: http://www.horgenhonning.net/
Component sharing for RFF, RBB, RSD and SD: http://www.horgenhonning.net/sharing/


User 2088758 Photo


Senior Advisor
2,631 posts

Not sure if you fixed it but it looks center to me.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 122279 Photo


Senior Advisor
11,592 posts
Online Now

Steve, look at the weddingmusic page, and check the form position compared to the image above, and the coloured row below it.
Ha en riktig god dag!
Inger, Norway
My new honey site, built with RFF: http://www.horgenhonning.net/
Component sharing for RFF, RBB, RSD and SD: http://www.horgenhonning.net/sharing/


User 2054663 Photo


Registered User
19 posts

Link below to RSD file. Thank you for your assistance.
https://www.dropbox.com/s/lvp6ilbgq0z613v/HPC%20Website%209.13.17.rsd?dl=0
User 2088758 Photo


Senior Advisor
2,631 posts

Ok I see, did you try adding a <center> before your code and a </center> after in the HTML element.
Taking over the world one website at a time!

Steve Kolish
www.misterwebguy.com

YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
User 122279 Photo


Senior Advisor
11,592 posts
Online Now

Sorry, I have to pass. I'm not used to S-drive. With forms uploaded to a regular server, changing bits and bobs is easy. Maybe Steve knows where to add that centering. The actual HTML element is centered, it's just the page that turns up inside it that ain't.

Maybe take a look at the form project. Make sure that the form width is 100% within the max pixel width you have set, and also the various fields. That's all I can suggest.
Ha en riktig god dag!
Inger, Norway
My new honey site, built with RFF: http://www.horgenhonning.net/
Component sharing for RFF, RBB, RSD and SD: http://www.horgenhonning.net/sharing/


User 2054663 Photo


Registered User
19 posts

Well, between the <center> snippet and making the form 100% in WFD (don't know why I had it at 90%), my forms are centered up. I'm going to play with the "Block" or "Inline Block" settings on RSD, but everything looks good. I can't believe it was so simple, but glad it was. Thank you both for your assistance!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.