2 Replies Latest reply on Mar 11, 2010 7:56 AM by osgood_

    blank space at bottom of page in FF

    The_FedEx_Guy Level 2

      I was sent some code to put a CMS system behind.

      But on testing the content on the div elements I have found I have blank space on the bottom of the page.

       

      I know this is caused by position:relative;

       

      but I thought using this was the correct way to display two divs side by side left and right column.

       

      If I take it off the video on the right column goes off too far right.

      I am testing on IE 8 and FF 3.5

       

      Resolution:

      1024 in IE

      1600 in FF

       

      * {    margin-top: 0px;
          margin-left:0px;
          margin-right:0px;
          margin-bottom:0px;
          padding-top:0px;
          padding-bottom:0px;
          padding-left:0px;
          padding-right:0px;
      }

       

      p {
          font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
          font-size: 12px;
          color: #9c9c9e;
          line-height: 20px;
          font-weight: lighter;
      }
      h1 {
          font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
          font-size: 21px;
          color: #4d485c;
          text-decoration: none;
          font-weight: bold;
          padding-bottom: 5px;
      }
      body {
          font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
          height:0px;

       

      }
      .logos {
          padding-right: 30px;

       

      }
      .logo {
          margin-top: 62px;
          margin-left: 50px;
      }
      #button {
          float: right;
          width: 238px;
          margin-right: 50px;
          margin-top: 62px;
      }
      #wrapper {
          width: 999px;
          margin-right: auto;
          margin-left: auto;
          border-right-width: 1px;
          border-left-width: 1px;
          border-right-style: solid;
          border-left-style: solid;
          border-right-color: #DDD;
          border-left-color: #DDD;
         
      }
      #header {
          height: 178px;
          background-image: url(images/headerbk.jpg);
          background-repeat: no-repeat;
      }
      #sidebar {
          width: 347px;
          float: right;
          padding-left: 15px;
          padding-top: 17px;
          position:relative;
          top:-299px;
          clear:right;
      }
      #sidebar2 {
          width: 347px;
          float: right;
          padding-left: 15px;
          padding-top: 17px;
          left:30px;
          position:relative;
          top:-1450px;
          display:block;
          z-index:2;

       

          clear:right;
      }
      #rotator {
          width: 586px;
          padding-top: 18px;
          margin-bottom: 18px;
          float:left;
          position:relative;
          clear:left;
      }
      #rotator2 {
          width: 586px;
          padding-top: 30px;
          margin-bottom: 18px;
          float:left;
          /*position:relative;*/
          clear:left;

       


      }
      #bodyText {
          width: 586px;
          top:-550px;
          position:relative;
          clear:both;

       

      }
      #bodyText2 {
          width: 586px;
          /*top:-550px;*/
          position:relative;
          display:block;
          top:20px;

       


      }
      #slider {
      }
      #footer {
          background-color: #A2A2A3;
          border-top-width: 1px;
          border-top-style: solid;
          border-top-color: #FFF;
          border-right-width: 1px;
          border-left-width: 1px;
          border-right-style: solid;
          border-left-style: solid;
          border-right-color: #B1B1B2;
          border-left-color: #B1B1B2;
          padding-top: 30px;
          padding-right: 50px;
          padding-bottom: 30px;
          padding-left: 50px;
          height:120px;
      }
      #footerImages {
          position:absolute;
         
      }
      #maincontent {
          background-image: url(images/mainbg.jpg);
          background-repeat: repeat-x;
          background-color: #e5e5e5;
          padding-left: 50px;
          height:655px;
          /*overflow:hidden;added this and it shows*/

       

      }
      #maincontent2 {
          background-image: url(images/mainbg2.jpg);
          background-repeat: repeat-x;
          /*background-color: #e5e5e5;*/
          padding-left: 50px;
          height:100%;
         
          /*overflow:hidden;added this and it shows*/

       

      }