Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 6th Feb 2014, 06:12 AM   #1
Active Warrior
 
Join Date: 2011
Posts: 26
Thanks: 0
Thanked 4 Times in 4 Posts
Default
URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

Hey guys,

Am a complete illiterate with programming stuff. I just add a GetResponse Web Form code to my page, but unfortunately it aligned left. I sent mail to support but they replied they do not help customers with that.

Please can someone help me to CENTER the form

NOTE: I would have posted the code here but it's way to long

Last edited on 6th Feb 2014 at 06:31 AM. Reason: Correction
JimSouza is offline  
Unread 6th Feb 2014, 07:00 AM   #2
Bananas are Yellow!
Registered Member
War Room Member
 
David Beroff's Avatar
 
Join Date: 2013
Location: Wyoming, PA, USA
Posts: 1,046
Thanks: 2,549
Thanked 1,600 Times in 928 Posts
Blog Entries: 4
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

Insert the following inside the angle brackets of the part you wish to center:
PHP Code:
style="text-align:center;" 

Put MY voice on YOUR video: AwesomeAmericanAudio.com
David Beroff is offline  
Unread 6th Feb 2014, 03:26 PM   #3
ɹoıɹɹɐʍ ǝʌıʇɔɐɹǝdʎɥ
War Room Member
 
RobinInTexas's Avatar
 
Join Date: 2008
Location: Texas
Posts: 2,138
Thanks: 243
Thanked 453 Times in 382 Posts
Blog Entries: 3
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

Put your code up at pastebin and someone will likely give you a complete solution.

Robin


...Even if you're on the right track, you'll get run over if you just set there.
RobinInTexas is offline  
Unread 9th Feb 2014, 12:56 AM   #4
Bananas are Yellow!
Registered Member
War Room Member
 
David Beroff's Avatar
 
Join Date: 2013
Location: Wyoming, PA, USA
Posts: 1,046
Thanks: 2,549
Thanked 1,600 Times in 928 Posts
Blog Entries: 4
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

Isn't it reasonable to ask for the OP to post a follow-up on something like this, especially seeing as the thread was marked, "URGENT"?

Put MY voice on YOUR video: AwesomeAmericanAudio.com
David Beroff is offline  
Unread 9th Feb 2014, 07:35 PM   #5
Development, SEO, & ORM
 
Iconiplex's Avatar
 
Join Date: 2014
Location: Houston, TX
Posts: 62
Thanks: 3
Thanked 14 Times in 10 Posts
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

You could either do:
HTML Code:
<form style="width:100%; text-align:center;">
or:
HTML Code:
<form style="margin-left:auto; margin-right:auto;">
At least, that's my assumption without actually seeing your form and its contextual implementation.

US-based design, development, marketing, branding, printing, and all other business services.
High-risk payment processing for pharma, e-cigs, seeds, and more!
Accepting investment management clients. Minimum deposit is $3000.
Skype/AIM: artizhay
Iconiplex is offline  
Unread 12th Feb 2014, 02:45 PM   #6
Master List Builder
War Room Member
 
Join Date: 2004
Location: Valparaiso, Indiana , USA.
Posts: 694
Thanks: 18
Thanked 208 Times in 157 Posts
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

You could simply use <center>your form code here</center>
yakim1 is offline  
Unread 12th Feb 2014, 03:24 PM   #7
Development, SEO, & ORM
 
Iconiplex's Avatar
 
Join Date: 2014
Location: Houston, TX
Posts: 62
Thanks: 3
Thanked 14 Times in 10 Posts
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

Originally Posted by yakim1 View Post

You could simply use <center>your form code here</center>
This tag is deprecated and certainly should not be recommended as a viable solution.

US-based design, development, marketing, branding, printing, and all other business services.
High-risk payment processing for pharma, e-cigs, seeds, and more!
Accepting investment management clients. Minimum deposit is $3000.
Skype/AIM: artizhay
Iconiplex is offline  
Unread 18th Feb 2014, 03:17 PM   #8
Master List Builder
War Room Member
 
Join Date: 2004
Location: Valparaiso, Indiana , USA.
Posts: 694
Thanks: 18
Thanked 208 Times in 157 Posts
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

Originally Posted by Iconiplex View Post

This tag is deprecated and certainly should not be recommended as a viable solution.
css is not the solution for everything when this simple tag still functions with html and all the browsers I use still recongize this tag.

You guys with all this css wonder why page load times can get exessive. A simple wordpress site when the source code is looked at, there may be a thousand lines of css before the actual code for the page appears.

Best regards,
Steve Yakim
yakim1 is offline  
Unread 15th Jul 2014, 06:35 AM   #9
Advanced Warrior
 
Go4DBest's Avatar
 
Join Date: 2011
Location: Somewhere Out there!
Posts: 545
Thanks: 467
Thanked 77 Times in 63 Posts
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

I am experiencing the same. I can't seem to center the optin form code in script.

<div style="text-align:center;margin-left:auto; margin-right:auto"><script type="text/javascript" src="http://app.getresponse.com/view_webform.js?wid=5177002&u=C1zP"></script><div>
It is still aligned left.

We setup and design wordpress sites using the Divi theme for roughly 200 USD. Let's talk.
Go4DBest is offline  
Unread 15th Jul 2014, 06:39 AM   #10
Advanced Warrior
 
Go4DBest's Avatar
 
Join Date: 2011
Location: Somewhere Out there!
Posts: 545
Thanks: 467
Thanked 77 Times in 63 Posts
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

Originally Posted by Iconiplex View Post

You could either do:
HTML Code:
<form style="width:100%; text-align:center;">
or:
HTML Code:
<form style="margin-left:auto; margin-right:auto;">
At least, that's my assumption without actually seeing your form and its contextual implementation.
How about if it is in script form?

<script type="text/javascript" src="http://app.getresponse.com/view_webform.js?wid=5177002&u=C1zP"></script>
I wrap it up with a div with that code but still it won't work.

<div style="text-align:center;margin-left:auto; margin-right:auto">

<script type="text/javascript" src="http://app.getresponse.com/view_webform.js?wid=5177002&u=C1zP"></script>

<div>

We setup and design wordpress sites using the Divi theme for roughly 200 USD. Let's talk.
Go4DBest is offline  
Unread 15th Jul 2014, 06:41 AM   #11
Programmer
 
Join Date: 2014
Location: South Carolina, USA
Posts: 25
Thanks: 12
Thanked 10 Times in 5 Posts
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

Go4DBest, if you give your <div> a width, it should be centered for you. Something like <div style="text-align:center;margin-left:auto;margin-right:auto;width:300px;">
onsmith is offline  
Unread 15th Jul 2014, 06:41 AM   #12
Advanced Warrior
 
Go4DBest's Avatar
 
Join Date: 2011
Location: Somewhere Out there!
Posts: 545
Thanks: 467
Thanked 77 Times in 63 Posts
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

After many testing, it seems the old html tag <center> </center> will do the trick.

We setup and design wordpress sites using the Divi theme for roughly 200 USD. Let's talk.
Go4DBest is offline  
Unread 15th Jul 2014, 06:43 AM   #13
Advanced Warrior
 
Go4DBest's Avatar
 
Join Date: 2011
Location: Somewhere Out there!
Posts: 545
Thanks: 467
Thanked 77 Times in 63 Posts
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

Originally Posted by onsmith View Post

Go4DBest, if you give your <div> a width, it should be centered for you. Something like <div style="text-align:center;margin-left:auto;margin-right:auto;width:300px;">
Thanks, I will try this as well. Awesome, pal.

We setup and design wordpress sites using the Divi theme for roughly 200 USD. Let's talk.
Go4DBest is offline  
Unread 15th Jul 2014, 06:45 AM   #14
Programmer
 
Join Date: 2014
Location: South Carolina, USA
Posts: 25
Thanks: 12
Thanked 10 Times in 5 Posts
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

Setting margin-left and margin-right to auto only works if you tell the browser the width of the object; setting text-align to center only works if the object you're trying to center has width:100%.
onsmith is offline  
Unread 15th Jul 2014, 06:48 AM   #15
Programmer
 
Join Date: 2014
Location: South Carolina, USA
Posts: 25
Thanks: 12
Thanked 10 Times in 5 Posts
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

I agree with Iconiplex about the <center> tag. <center> should be avoided at all costs, as its use has been discouraged for over 5 years.
onsmith is offline  
Unread 15th Jul 2014, 07:04 AM   #16
ResponsiveDesignTest.Net
Registered Member
 
Michael71's Avatar
 
Join Date: 2011
Location: Rostock, Germany
Posts: 829
Thanks: 106
Thanked 225 Times in 194 Posts
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

Using center tag or text-align:center is very bad. Set some width to the form or div containing the form and then use margin:0 auto;

HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing
---
Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu
Michael71 is offline  
Unread 15th Jul 2014, 11:11 AM   #17
boomplacer
 
Rob de Roy's Avatar
 
Join Date: 2014
Location: Berlin DE
Posts: 22
Thanks: 2
Thanked 3 Times in 3 Posts
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

you can try this one.
Fist press "Quellcode"- Button than insert you code,
then press this button again, select what is to be centered and use the centering button. Now press "Quellcode" and copy the code an insert on you page.
Best Online HTML Editor | Best Free Online WYSIWYG HTML Editor

Rob de Roy is offline  
Unread 11th Nov 2014, 07:46 AM   #18
Warrior Member
 
Join Date: 2009
Location: Some where in the Internet
Posts: 27
Thanks: 8
Thanked 5 Times in 5 Posts
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

I had the same problem too and I used this code to solved it.

<div style="width: (the width of the webform here)px; margin:0 auto;"><script (Getresponse javascript code here)></script></div>

As an example:

<div style="width:220px; margin:0 auto"><script type="text/javascript" src="http://www.getresponse.new/view_webform.js?wid=2"></script></div>
cgyc88 is offline  
Unread 10th May 2015, 02:51 AM   #19
Now or never
War Room Member
 
Join Date: 2006
Location: United Kingdom.
Posts: 170
Thanks: 121
Thanked 68 Times in 26 Posts
Default
Re: URGENT! How Can I Align to Center Getresponse Web Form
Share on: 
fb share twitter share gplus share more share

I also had trouble centering a Getresponse optin form, but the above code sorted it. Manhy thanks to cgyc88

Don't forget your dreams
keepitsimple is offline  
Closed Thread


Bookmarks

Tags
align, center, form, getresponse, urgent, web


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 12:53 PM.