Go Back   WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 05-14-2009, 07:51 AM   #1
Internet Marketer
War Room Member
 
Chris Freville's Avatar
 
Join Date: Sep 2008
Posts: 73
Thanks: 5
Thanked 9 Times in 6 Posts
Social Networking View Member's Twitter Profile 
Default HTML question: opt-in form not centered in Firefox

Hi,

I'm trying to get my opt-in form centered in the page on my website:

index

In IE it shows fine but in Firefox its shifted to the left.

Any HTML experts willing to help me out?

Thanks
Chris
Chris Freville is offline   Reply With Quote
Old 05-14-2009, 08:07 AM   #2
Fly Higher
War Room Member
 
4Highflyers's Avatar
 
Join Date: Mar 2009
Posts: 115
Thanks: 18
Thanked 18 Times in 11 Posts
Default Re: HTML question: opt-in form not centered in Firefox

Just center that particular table which holds the form:

Where you have...

Quote:
<table width="550" cellspacing="0" cellpadding="10" bordercolor="#000000" border="1" bgcolor="#f6f6f6" id="table49" style="border-style: dashed; border-width: 3px; border-collapse: collapse;">
Change it to...
Quote:
<table width="550" cellspacing="0" cellpadding="10" bordercolor="#000000" border="1" bgcolor="#f6f6f6" id="table49" style="border-style: dashed; border-width: 3px; border-collapse: collapse;" align="center">
Best,
Adam

4Highflyers is offline   Reply With Quote
Old 05-14-2009, 08:26 AM   #3
Internet Marketer
War Room Member
 
Chris Freville's Avatar
 
Join Date: Sep 2008
Posts: 73
Thanks: 5
Thanked 9 Times in 6 Posts
Social Networking View Member's Twitter Profile 
Default Re: HTML question: opt-in form not centered in Firefox

I just tried doing that and it hasn't worked.

For some reason the align="center" is in a different place to yours.
Chris Freville is offline   Reply With Quote
Old 05-14-2009, 08:59 AM   #4
Fly Higher
War Room Member
 
4Highflyers's Avatar
 
Join Date: Mar 2009
Posts: 115
Thanks: 18
Thanked 18 Times in 11 Posts
Default Re: HTML question: opt-in form not centered in Firefox

Quote:
For some reason the align="center" is in a different place to yours.
Not sure what you mean there, Chris.

align="center" is what you need to add to that table to center it (in firefox).
(currently you have a redundant center="" in there that does nothing)

Best,
Adam

4Highflyers is offline   Reply With Quote
Old 05-14-2009, 09:15 AM   #5
Internet Marketer
War Room Member
 
Chris Freville's Avatar
 
Join Date: Sep 2008
Posts: 73
Thanks: 5
Thanked 9 Times in 6 Posts
Social Networking View Member's Twitter Profile 
Default Re: HTML question: opt-in form not centered in Firefox

Thanks - I think I've sorted it.

I was putting align="center" as part of my style command. I've now made it separate to the style tag but still part of the table command.

What was very frustrating for me was trying to do this via Frontpage. I only managed to make the changes manually. Changing them using the "center icon" in FP seemed to have no effect.

Thanks again
Chris Freville is offline   Reply With Quote
Old 05-14-2009, 09:22 AM   #6
Warrior Member
 
SEOsly's Avatar
 
Join Date: May 2009
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default Re: HTML question: opt-in form not centered in Firefox

For future reference; if you'd like to do it VIA styles you can use the following:

margin: 0 auto;

Hope this is helpful.
SEOsly is offline   Reply With Quote
Old 05-14-2009, 09:23 AM   #7
Advanced Warrior
War Room Member
 
Droopy Dawg's Avatar
 
Join Date: Aug 2008
Posts: 926
Thanks: 67
Thanked 139 Times in 103 Posts
Default Re: HTML question: opt-in form not centered in Firefox

add:

text-align:center

attribute to your style... see if that works

Droopy Dawg is offline   Reply With Quote
Old 05-14-2009, 10:45 AM   #8
Senior Warrior Member
War Room Member
 
bgmacaw's Avatar
 
Join Date: Aug 2008
Location: Atlanta GA Metro Area, USA.
Posts: 3,643
Blog Entries: 5
Thanks: 311
Thanked 925 Times in 644 Posts
Social Networking View Member's Twitter Profile 
Default Re: HTML question: opt-in form not centered in Firefox

Another IE vs. Firefox tip is that IE will try to fix unmatched tags while Firefox won't. This might cause a page to display OK in IE but not FF.

bgmacaw is offline   Reply With Quote
Old 05-14-2009, 10:48 AM   #9
Ross Vaughn
 
Spinethetic's Avatar
 
Join Date: Apr 2009
Location: Manhatten
Posts: 177
Blog Entries: 2
Thanks: 20
Thanked 15 Times in 14 Posts
Social Networking View Member's Myspace Profile  View Member's FaceBook Profile  View Member's Twitter Profile 
Default Re: HTML question: opt-in form not centered in Firefox

Or use
HTML Code:
<p align="center">Something rather content</p>

Spinethetic is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > The Warrior Forum > Main Internet Marketing Discussion Forum

Tags
centered, firefox, form, html, optin, question

Thread Tools

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 05:00 PM.