The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Why is my Ask Page Aligning to the Left?

  • # February 22, 2013 at 4:16 am

    I don’t understand.
    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

    This reply has been reported for inappropriate content.

    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.


    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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed