Forums

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

Home Forums CSS Center Website with Div Tag Re: Center Website with Div Tag

#68772
TT_Mark
Member

Please don’t create a centering reset…. that is not a good idea!

You want to remove the top, left and position attributes of the container div and set the margin to

margin: 0 auto