2 Replies Latest reply on Dec 5, 2009 8:17 AM by tompiccirillo

    Page won't center on background image

    tompiccirillo

      I am having some trouble centering my page on a background image.  Here is my CSS for my body.  I thought the left and right margins set to auto should center the page.  The site can be found at http://www.findlaypopcorn.com the CSS is in index.css ( attached)

      body {      background-color: #ffffff;      margin-left:auto;      margin-right:auto;      width:796px;      padding:0px;      background-image: url(images/kernelsunpopped.JPG);      background-repeat: no-repeat;      background-attachment: fixed; } Please help