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

Next Office Hours Session: "SVG" Oct 14 - 6:30 PM Eastern
Get a free trial // Grow your CSS skills // Land your dream job

Website not centering (too much extra space on the right

  • # June 23, 2013 at 2:51 pm

    Hi, everyone! I am designing a website in WordPress with the Thematic framework. I am having an issue that has not occurred before when using this theme for other sites that I created. The div does not center. If I use margin:auto, it moves away from the left but also adds space to the right side, which makes the web page WIDER. This is obviously not the look that I am going for. If I don’t use margin: auto it is left justified. I did the code validation and worked through it. Nothing really jumped out as the reason. I used Firebug and nothing works. Could a fresh and more experienced set of eyes take a look and suggest a way (or ways) to fix this? So frustrated.


    # June 23, 2013 at 3:14 pm

    The only problem I see on your page is the image being to wide. This should fix it.

    .entry-content img { max-width: 100% }

    # June 24, 2013 at 2:30 am

    Yes I agree with HugoGiraudel you are right if image will be fixed than page will be automatically looks fine.

Viewing 3 posts - 1 through 3 (of 3 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