5 Replies Latest reply on Apr 18, 2010 12:44 PM by GirlyKat

    Beginner CSS help needed - White space.

    GirlyKat

      So, I'm creating this website...yes im a beginner, and I just dont know how to add white space onto each side of the site as to center it in the browser.

       

      here's what I have...but, when I try and use "float:left;" the div sits outside the container, even though it is definitely inside it? Any recs? Thanks x

       

      body  {
          font: 100% Verdana, Arial, Helvetica, sans-serif;
          background: #ffffff;
          margin: 0;
          padding: 0;
          text-align: center;
          color: #000000;
          height: auto;
      }
      #container {
          width: 750px;
          margin: 0 auto;
          border: 1px solid #000000;
          text-align: left;
          background-color: #FFCCE6;
          height: auto;
      }