PDA

View Full Version : Random iframe Content Help



Seannal
08-16-2006, 12:52 AM
1) Script Title: Random iframe Content Help

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/randomiframe.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

jscheuer1
08-17-2006, 06:23 AM
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)


<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>