Results 1 to 2 of 2

Thread: Random iframe Content Help

  1. #1
    Join Date
    Aug 2006
    Posts
    27
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Random iframe Content Help

    1) Script Title: Random iframe Content Help

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndomiframe.htm

    3) Describe problem:

    I'm using the script here: http://www.schoolofmuscle.com/indexdynamic.htm

    If you scroll down you'll see "recommended muscle-building e-book"

    I set the width and height of the frame to perfectly fit the table that I created on another page. Yet if you highlight the text and drag it down there's a gap at the bottom that I can't get rid of, and it moves all of the content upward.

    Any ideas how I can stop this from happening?

    Thanks,

    Sean

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You've got a lot of extra 'garbage' (at least all of the red parts in the below, possibly other parts could be eliminated) on the page. First get rid of that, then if you still have the problem, set the bottom margin of the table and/or the body elements to zero using style (green). And possibly the body to overflow:hidden; (blue)

    Code:
    <body style="margin-bottom:0;overflow:hidden;">
    <div align="center">
      <div align="left">
        <table style="margin-bottom:0;" width="435" height="277" border="0" align="center" cellpadding="0" cellspacing="0">
          <tr>
    
            <td height="277" align="left" valign="top"><div align="center">
              <div align="center">
                <div align="left">
                  <div align="center"></div>
                  <table width="100%"  border="0" align="center" cellpadding="4" cellspacing="0">
                    <tr>
                      <td bgcolor="#BC0000"><div align="center" class="s15 style5 style4"><strong>Featured Muscle-Building E-Book</strong></div></td>
                    </tr>
    
                  </table>
                </div>
              </div>
              <p><font color="#CC0000" size="3" face="Arial, Helvetica, sans-serif">&nbsp;</font><font color="#CC0000" size="3" face="Arial, Helvetica, sans-serif" class="s10"><strong>&quot;Leave Your Friends, Family And Co-Workers Staring In <em>Disbelief</em> At Your Powerful, New Physique!&quot;</strong></font></p>
              </div>
              <div align="center">
                <p align="left"><font color="#0000FF"><strong><u><img src="../images/ttabmhome.jpg" align="left"><a href="http://somuscle.seannal.hop.clickbank.net/" target="_blank"><font class="s2">The Truth About Building Muscle</font></a><font class="s2">,</font></u></strong><font class="s2"><font color="#000000">  is currently clickbank.com's <strong>#1 selling bodybuilding program</strong>. Sean Nalewanyj puts the marketing hype aside and delivers the honest, straight-up truth about building a powerful, dominating physique in his best-selling, instantly downloadable e-book.</font></font></font></p>
    
              </div>
              <font color="#0000FF">
              <p align="center"><font color="#0000FF" size="2" face="Arial, Helvetica, sans-serif"><strong><u><a href="http://www.schoolofmuscle.com/ebooks/bodybuilding/ttabm.php" class="s2">Click Here For Our Unbiased Review On This E-Book!</a><br>
                        <br>
                        <a href="http://www.schoolofmuscle.com/ebooks/bodybuilding/main.php" class="s2">View All Recommended Muscle-Building E-Books</a></u></strong></font></p>
            </font></td>
          </tr>
        </table>
    
        <font color="#CC0000" size="3" face="Arial, Helvetica, sans-serif"><br>
      </font></div>
      <div align="center">
        <div align="left">
          <div align="center"></div>
          <font color="#CC0000" size="3" face="Arial, Helvetica, sans-serif"><br>
    </font><font color="#0000FF" size="2" face="Arial, Helvetica, sans-serif"><strong><u>
    </u></strong></font></div>
      </div>
    </div>
    
    <font color="#0000FF"></font>
    </body>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •