Width of Section
Posted 12 March 2013 - 09:38 PM
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?
Posted 12 March 2013 - 10:30 PM
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.
Posted 13 March 2013 - 08:44 PM Best Answer
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.
Posted 13 March 2013 - 09:24 PM
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?
Posted 13 March 2013 - 09:58 PM
Gave it a max width, set left and right margins to auto. works perfectly
Posted 16 March 2013 - 03:55 AM
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"?