Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Content of the web site is not centered

Hey guys!

I'm making a website here: http://neges.ru

The problem is that the content section is not centered. It's all skooched to one side. I've been trying to insert margin: 0 auto; almost everywhere, but it's not helping. Nothing I do seems to take any effect. I don't want to move it with margins, I though it should be centered by default... Can you please help me figure out, how to center it, so that in responsive layout it is not distorted?

Thank you!

I will also appreciate any feedback on my project here.

1 Answer

luke hammer
luke hammer
25,513 Points

Normilize css appears to be moving your <ul id="gallery"> to the left .

i think the best answer here is to use twitter bootstrap and let that handle your formatting.

http://getbootstrap.com/

Like thank you for your answer! It was indeed one ugly website, I tore it down, and built a new one, using Bootstrap. So you helped a lot.