HELP! Why is this happening???

by ak2000
2 replies
  • WEB DESIGN
  • |
I've been trying to fix this for a few hours last night but no success...any idea for why the sign up form is aligned to the left??

Get Hired As A Highly Paid Investment Banker Making 150k+ A Year

I've tried centering it in HTML in all sorts of ways but no luck!!

Thanks in advance for your help
#happening
  • Profile picture of the author SteveJohnson
    In the <head> section of your page, find the <style> tag. Below the other style definitions, just before the </style> closing tag, add this:

    #WFItem5845 { margin: 0 auto 0; }

    The first zero denotes the margin above the form, you can add spacing there if you like, in pixels, like so:

    #WFItem5845 { margin: 10px auto 0; }

    Also - the page is filled with HTML errors. Before trying to troubleshoot CSS/alignment problems, you should run your page through a validator.
    Signature

    The 2nd Amendment, 1789 - The Original Homeland Security.

    Gun control means never having to say, "I missed you."

    {{ DiscussionBoard.errors[2587817].message }}
    • Profile picture of the author ak2000
      Man, you are a dude.
      Thank you SO much!

      Originally Posted by SteveJohnson View Post

      In the <head> section of your page, find the <style> tag. Below the other style definitions, just before the </style> closing tag, add this:

      #WFItem5845 { margin: 0 auto 0; }

      The first zero denotes the margin above the form, you can add spacing there if you like, in pixels, like so:

      #WFItem5845 { margin: 10px auto 0; }

      Also - the page is filled with HTML errors. Before trying to troubleshoot CSS/alignment problems, you should run your page through a validator.
      {{ DiscussionBoard.errors[2587855].message }}

Trending Topics