Forums

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

Home Forums CSS center within div Re: center within div

#69450
mat
Member

I normally have this is my reset stylesheet for generic classes i want to use wsuch as img_center

Code:
.img_center {
position: relative;
display: block;
padding: 0;
margin: 0 auto;
}