The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Help centering a div Re: Help centering a div


Yeah, that wouldn’t work because it’s fixed. However it did give me an idea. If I wrap my current div in another div, and set that to fixed from the top and 100% width, I should be able to give my real div margin: 0 auto

That should work right?