Grow your CSS skills. Land your dream job.

Why is my Ask Page Aligning to the Left?

  • # February 22, 2013 at 4:16 am

    I don’t understand.
    http://therandy.tk/askme
    I tried to post the code, but it doesn’t really allow me.

    # February 22, 2013 at 4:20 am

    Change margin-left: 0px; margin-right: 0px; margin-top: 0px; by margin: 0 auto.

    # February 22, 2013 at 4:55 am

    Your HTML is seriously fubar, half your meta tags end up in the body, probably because you have invalid elements in your head. If you put everything that should be in the body inside the container div, which already has `margin: 0 auto;`, it will be centered… probably.

    # February 22, 2013 at 5:16 am

    >Your HTML is seriously fubar.

    This….

    I think you need to re-code the whole thing.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".