cageman555:
I can not figur out how to center my website. I have searched the forums and i have tried changing the margin in my css to margin: auto;
But it is not working!!!! Some please help i have to get this website done soon.
newest version of zen.
My Site
http://www.midamericasportz.com/zencart
Here is my css.
http://www.midamericasportz.com/zencart/includes/templates/custom/css/stylesheet.css
These sections of your stylesheet are conflicting with each other and the last one is overriding all of the other settings for the #mainWrapper rule.
I've highlighted what should be deleted.
#mainWrapper {
margin: auto;
background-color: #ffffff;
text-align: left;
width: 750px;
vertical-align: top;
border-right: 1px solid #9a9a9a;
}
#contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
margin: auto;
padding: 0em;
}
#navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
WIDTH: auto;
POSITION: absolute;
background-position: center center;
margin-top: 0px;
margin-right: auto;
margin-bottom: 0px;
margin-left: auto;
padding-top: 0px;
padding-right: auto;
padding-bottom: 0px;
}