Home › Forums › CSS › Help auto padding and centering divs › Re: Help auto padding and centering divs
June 8, 2010 at 9:14 am
#77316
Participant
If you are wanting the other div to be centered – add another div within the 325width div and add "margin: 0 auto;" to it. Do not set the padding to the main 325px width div – but apply the padding to the div / div’s within the parent container. Maybe this will help?