4 Replies Latest reply on Mar 4, 2010 12:52 PM by osgood_

    Can anyone tell me why there's an extra space here?

    Fitz21

      Can anyone tell me why there's an extra space here? http://www.libertywebmarketing.com/test/test.html

       

      SOURCE CODE:

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      <title>Test</title>
      <link href="css/Test.css" rel="stylesheet" type="text/css" />
      <style type="text/css">

      body {
      background-attachment:fixed;
      background-image: url(images/background.jpg);
      background-color: #000;
      background-repeat:no-repeat;
      background-position:top;
      background-position:center
      }

      </style>
      </head>
      <body>
      <div class="container" id="container">
        <div id="Top"></div>
      <div id="Copy">
         <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In malesuada cursus   commodo. Sed eleifend dolor nibh. In augue turpis, sollicitudin et luctus at,   suscipit sed erat. Aliquam metus ipsum, posuere eget placerat et, interdum at   metus. Aenean ut enim leo, at dapibus lorem. Donec hendrerit feugiat mattis.   Fusce sollicitudin nisl sed metus porta mollis. Aliquam a arcu nibh, aliquam   malesuada sem. Aliquam dictum porttitor odio, aliquam vehicula tellus sodales   ut. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere   cubilia Curae; Curabitur eu turpis eu nisi tincidunt egestas. Nam ultrices   aliquam pulvinar. Curabitur libero diam, tristique in lobortis at, vestibulum ac   purus. Cras sodales, mi at vestibulum pellentesque, orci arcu vulputate ligula,   et placerat elit nibh sed mi. Praesent pulvinar pulvinar massa, in malesuada   nisl mattis vitae. </p>
      </div>
        <div id="Bottom"></div>
      </div>
      </body>
      </html>


      CSS:

      .container {
      margin-right: auto;
      margin-left: auto;
      width: 925px;
      margin-top: 0px;
      }
      p {
      font-family: Verdana, Geneva, sans-serif;
      font-size: 14px;
      }
      #Top {
      background-image: url(../images/TopEdge.jpg);
      background-repeat: no-repeat;
      height: 22px;
      width: 925px;
      }
      #Bottom {
      background-image: url(../images/BottomEdge.jpg);
      background-repeat: no-repeat;
      height: 18px;
      width: 925px;
      }
      #Address {
      font-family: Verdana, Geneva, sans-serif;
      font-size: 12px;
      font-weight: normal;
      color: #FFF;
      text-align: center;
      line-height: 20px;
      }
      #Copy {
      padding-right: 20px;
      padding-left: 20px;
      background-image: url(../images/White-Tile.jpg);
      background-repeat: repeat-y;
      font-family: Verdana, Geneva, sans-serif;
      font-size: 14px;
      line-height: 20px;
      padding-top: 10px;
      padding-bottom: 0px;
      }

       

       

      Thanks a lot.

       

      Fitz21