Fork me on GitHub

Need Help with HTML Table line up.  Bottom

  • Hey guys, I really need some help here:

    I have a big space between my blocks and I don't know how to get rid of it:

    Here is what it looks like:


    http://www.pbxinfo.com/images/homepage1.JPG

    Code

    <table cellspacing="0" cellpadding="0" style="border: 0px none ; width: 750px;">
            <tbody><tr>
              <td class="txtw" style="padding: 3px 0px 3px 10px; background: rgb(204, 204, 204) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left;">
                <!-- [date] --> <br /></td>
              <td class="txtw" style="padding: 3px 10px 3px 0px; background: rgb(204, 204, 204) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: right;">
                <strong><!-- [site-slogan] --></strong> <br /></td>
            </tr>
          </tbody></table>
          <table cellspacing="0" cellpadding="0" style="border: 0px none ; width: 750px;">
            <tbody><tr style="vertical-align: top;">
              <!--left column -->
              <td style="padding: 0px; width: 198px; background-position: right top; background-repeat: repeat-y;">
               <!-- [left-blocks] -->
              <br /></td>
              <!--///left column -->
              <!--center column -->
              <td style="width: 552px; padding-top: 7px;"> <table width="100%" cellspacing="0" cellpadding="0" border="0">
                  <tbody><tr style="vertical-align: top;">
                    <td style="width: 50%;">
                      <!-- [modules] -->
                    <br /></td>

                    <td style="border-left: 1px dotted rgb(204, 204, 204); width: 1%;">  <br /></td>
                    <td style="width: 49%;">
                      <!-- [right-blocks] -->
                    <br /></td>

                  </tr>
                </tbody></table>
                <div style="background: rgb(204, 204, 204) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;"> </div>
                <table width="100%" cellspacing="0" cellpadding="0" border="0">
                  <tbody><tr style="vertical-align: top;">
                    <td style="width: 55%; padding-top: 2px;">
                      <!-- [center-blocks] -->
                    <br /></td>
                    <td style="width: 45%;">
                      <!-- [area1-blocks] -->
                    <br /></td>
                  </tr>
                </tbody></table>
                <div class="txt1"> </div>
                <table width="100%" cellspacing="0" cellpadding="0" border="0">
                  <tbody><tr style="vertical-align: top;">
                    <td style="width: 55%;">
                      <!-- [area2-blocks] -->
                    <br /></td>
                    <td style="width: 1%;">  <br /></td>
                    <td style="width: 44%;">
                      <!-- [area3-blocks] -->
                    <br /></td>
                  </tr>
                </tbody></table></td>
              <!--///center column -->
            </tr>
          </tbody></table>
          <table cellspacing="0" cellpadding="0" style="border-top: 5px double rgb(153, 153, 153); width: 750px;">
            <tbody><tr>
              <td style="text-align: center;"> <div style="padding-top: 5px; text-align: center;" class="txt"><!-- [footer-msg] --></div>
               <br /></td>
            </tr>
          </tbody></table></td>
      </tr>
    </tbody></table>



    Also in that space if I can't get rid of it, I would like to put a long block that spans the width of it. How do I do that. Span=3 somewhere another somewhere?
    Here is where I want it:


    Thanks!

    http://www.pbxinfo.com/images/homepage2.JPG

    Thanks for any help you guys can give.


    This is what the theme is suppose to resemble. Maybe I can put that grey divider in there as the background for the block.
    http://www.templatem…nter-friendly/4545/
  • Try this code. Rather than the 3 horizontal tables with two columns you made I am making two vertical tables each with 3 rows... I don't know why its got a grey background-perhaps it has something to do with CSS... anyway...you'll see...

    Code

    <table cellspacing="0" cellpadding="0" style="border: 0px none ; width: 750px;">
            <tbody><tr>
              <td class="txtw" style="padding: 3px 0px 3px 10px; background: rgb(204, 204, 204) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: left;">
                <!-- [date] --> <br /></td>
              <td class="txtw" style="padding: 3px 10px 3px 0px; background: rgb(204, 204, 204) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial; text-align: right;">
                <strong><!-- [site-slogan] --></strong> <br /></td>
            </tr>
          </tbody></table>
          <table cellspacing="0" cellpadding="0" style="border: 0px none ; width: 750px;">
            <tbody><tr style="vertical-align: top;">
              <!--left column -->
              <td style="padding: 0px; width: 198px; background-position: right top; background-repeat: repeat-y;">
               <!-- [left-blocks] -->
              <br /></td>
              <!--///left column -->
              <!--center column -->
              <td style="width: 552px; padding-top: 7px;"> <div style="background: rgb(204, 204, 204) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-origin: initial; -moz-background-inline-policy: initial;"> </div>
                <table width="100%" height="62" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <td colspan="2">Put the long block here</td>
                  </tr>
                  <tr>
                    <td width="50%"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td><!-- [modules] -->
                        </td>
                      </tr>
                      <tr>
                        <td><!-- [center-blocks] -->
                        </td>
                      </tr>
                      <tr>
                        <td><!-- [area2-blocks] -->
                        </td>
                      </tr>
                    </table></td>
                    <td width="50%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td><!-- [right-blocks] -->
                        </td>
                      </tr>
                      <tr>
                        <td><!-- [area1-blocks] -->
                        </td>
                      </tr>
                      <tr>
                        <td><!-- [area3-blocks] -->
                        </td>
                      </tr>
                    </table></td>
                  </tr>
                </table>            <p>&nbsp;</p>
                <div class="txt1"> </div>
              </td>
              <!--///center column -->
            </tr>
          </tbody></table>
          <table cellspacing="0" cellpadding="0" style="border-top: 5px double rgb(153, 153, 153); width: 750px;">
            <tbody><tr>
              <td style="text-align: center;"> <div style="padding-top: 5px; text-align: center;" class="txt"><!-- [footer-msg] --></div>
               <br /></td>
            </tr>
          </tbody></table>


    Let me know if it works...

    --
    Burnham Racing
    Illinois Cycling Association
  • Close here is what it looks like:
    http://www.pbxinfo.com/images/homepage4.JPG
  • Hey Rem, I will try to play with it a bit to see if I can get them to line up.

    Thanks!

    -Rix

This list is based on users active over the last 60 minutes.