Archived

This topic is now archived and is closed to further replies.

  • 0

Projects Width of Section

Question

Posted · Report post

Hey Nick,

I've got projects on a fixed width page, so the section's background color go full width and it looks a bit off.  Is there any way to limit it to the 1000px wide site?

Share this post


Link to post
Share on other sites

6 answers to this question

Posted · Report post

I mean it's possible but yeah it would require a fair amount of work only because it's absolutely positioned. You can try putting a max-width on it equal to your sites width then go from there.

Share this post


Link to post
Share on other sites

Posted · Report post

Ouch. Hmm, yeah not sure about that really, as it breaks the normal content to go to 100% width by design. It's absolutely positioned as well and centering it would really require another div. :(

Share this post


Link to post
Share on other sites

Posted · Report post

So... not an easy fix on my end?

Share this post


Link to post
Share on other sites

Posted · Report post

I had tried that, and the width was correct, but it was aligned to the left side of the browser window.  Any thoughts on making it go center?

Share this post


Link to post
Share on other sites

Posted · Report post

Did it!

Gave it a max width, set left and right margins to auto.  works perfectly

1 person likes this

Share this post


Link to post
Share on other sites

Posted · Report post

Sorry for the silly question. I am struggling with the same problem. How do you "give a max width, set left and right margins to auto"?

Share this post


Link to post
Share on other sites