Jump to content

[SOLVED] Div scrolling class not working


DarkPrince2005

Recommended Posts

Ok guys and gals, I've got this page, in the first code the div scrolling class works but in the second it doesn't can anyone tell me why? the difference is that in the second i just placed it in another table.

 

<html>
<head>
<title></title>
<style>
.scrollable { 
width: 700px; 
height: 90%; 
overflow: auto;
background-repeat:no-repeat;
} 

td{background-repeat: no-repeat;
}

a{color:"#3C00FF";
}
</style>
</head>
<body topmargin="0" bottommargin="0" rightmargin="0" leftmargin="0">
<center><table height="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="735" height="150" background="top.gif"> </td>
</tr>
<tr>
<td width="735" height="32" background="nav.gif" valign="top">
	<font size="2">      <b><a href="index.html">Home</a>
	  |  <a href="contact_us.html">Contact Us</a>
	  |  <a href="http://www.geekforce.co.za/geekhost_support.html">Support</a>
	  |  <a href="https://secure.konsoleh.co.za">Mail Login</a>	
	  |  <a href=" http://dsl.wadns.net">ADSL Console</a>
	  |  <a href="terms.html">Terms & Conditions</a>
	  |  <a href="Geek Host Pricelist.pdf">Download Pricelist</a></font></b></td>
</tr>
<tr>
<td width="735" background="main3.gif" align="center" valign="top"><br><div class="scrollable">
	<table>
	<tr>
		<td valign="top" colspan="2" align="center"><br>  <img src="adsl1.gif" width="150"></td>
		<td valign="top" colspan="2"><br><blockquote width="400"><b><font color="#3C00FF"><h3><u>ADSL</u></h3></font></b><font color="#FF6600">ADSL is a form of DSL, a data communications technology that enables faster data transmission over copper telephone lines than a conventional voiceband modem can provide.</font></blockquote></td>
	</tr>

	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top" colspan="2"><blockquote width="400"><font color="#3C00FF"><b>Geek Complete: </b></font><font color="#FF6600">One stop ADSL Solution. We supply ADSL Services on your normal Telkom line, including an ADSL Router and Data Bundle. Available with 1GB, 3Gb, 5GB and 10GB data bundles.</font></blockquote></td>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top"><br><br>  </td>
		<td valign="top"><blockquote width="400">
				<table cellspacing="0" cellpadding="1" border="1" width="390">
				<tr bgcolor="#FF6600">
				<td><b><font color="#FFFFFF">Geek Complete</font></b></td>
				<td><b><font color="#FFFFFF">Price / M</font></b></td></tr>
				<tr>
					<td align="center"><font color="#FF6600">Installation</font></td>
					<td align="center"><font color="#FF6600">R 485.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">384 KB / 1 GB</font></td>
					<td align="center"><font color="#FF6600">R 285.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">512 KB / 3 GB</font></td>
					<td align="center"><font color="#FF6600">R 590.00</font></td>
				</tr>
				</table></blockquote>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top" colspan="2"><blockquote width="400"><font color="#3C00FF"><b>Geek Premium: </b></font><font color="#FF6600">Our most popular range of ADSL packages, designed for surfing the web and retrieving or sending email. This service gives priority to HTTP, which is the protocol assigned to most Internet websites. Available in 1GB, 3GB, 5GB, 10GB, 20GB, and 30GB data bundles.</font></blockquote></td>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top"><br><br>  </td>
		<td valign="top"><blockquote width="400">
				<table cellspacing="0" cellpadding="1" border="1" width="390">
				<tr bgcolor="#FF6600">
				<td><b><font color="#FFFFFF">Geek Premium</font></b></td>
				<td><b><font color="#FFFFFF">Price / M</font></b></td></tr>
				<tr>
					<td align="center"><font color="#FF6600">1 GB</font></td>
					<td align="center"><font color="#FF6600">R 150.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">2 GB</font></td>
					<td align="center"><font color="#FF6600">R 280.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">3 GB</font></td>
					<td align="center"><font color="#FF6600">R 350.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">5 GB</font></td>
					<td align="center"><font color="#FF6600">R 450.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">10 GB</font></td>
					<td align="center"><font color="#FF6600">R 750.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">20 GB</font></td>
					<td align="center"><font color="#FF6600">R 1300.00</font></td>
				</tr>
				</table></blockquote>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top" colspan="2"><blockquote width="400"><font color="#3C00FF"><b>Geek Unshaped: </b></font><font color="#FF6600">Offers higher data transfer rates and support gaming and internet activity that demands lowlatency. All protocols will therefore share the available bandwidth equally. Available in 1GB and 4GB data bundles.</font></blockquote></td>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top"><br><br>  </td>
		<td valign="top"><blockquote width="400">
				<table cellspacing="0" cellpadding="1" border="1" width="390">
				<tr bgcolor="#FF6600">
				<td><b><font color="#FFFFFF">Geek Unshaped</font></b></td>
				<td><b><font color="#FFFFFF">Price / M</font></b></td></tr>
				<tr>
					<td align="center"><font color="#FF6600">1 GB</font></td>
					<td align="center"><font color="#FF6600">R 230.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">4 GB</font></td>
					<td align="center"><font color="#FF6600">R 810.00</font></td>
				</tr>
				</table></blockquote>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top" colspan="2"><blockquote width="400"><font color="#3C00FF"><b>Geek Pre-Paid: </b></font><font color="#FF6600">For the light occasional user with no recurring monthly fees. Available in Premium and Unshaped.(bandwidth purchase in units of 1GB)</font></blockquote></td>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top"><br><br>  </td>
		<td valign="top"><blockquote width="400">
				<table cellspacing="0" cellpadding="1" border="1" width="390">
				<tr bgcolor="#FF6600">
				<td><b><font color="#FFFFFF">Geek Pre-Paid</font></b></td>
				<td><b><font color="#FFFFFF">Price / M</font></b></td></tr>
				<tr>
					<td align="center"><font color="#FF6600">Setup Fee</font></td>
					<td align="center"><font color="#FF6600">R 100.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">Shaped 1 GB</font></td>
					<td align="center"><font color="#FF6600">R 160.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">Unshaped 1 GB</font></td>
					<td align="center"><font color="#FF6600">R 240.00</font></td>
				</tr>
				</table></blockquote>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top" colspan="2"><blockquote width="400"><font color="#FF6600"><ul>
<li>All ADSL connectivity are provided thru our Data Centre with a Tier 1 Fibre Internet Connection.</li>
<li>Instant Account activation.</li>
<li>Support via telephone & e-mail.</li>
<li>Graphical Usage statistics.</li>
</ul></font></blockquote>
</td>
</tr>
</table></div>
</td>
</tr>
<tr>
<td width="735" height="42" background="bottom2.gif"> </td>
</tr>
</table>

 

 

 

 

<html>
<head>
<title></title>
<style>
.scrollable { 
width: 700px; 
height: 90%; 
overflow: auto;
background-repeat:no-repeat;
} 

td{background-repeat: no-repeat;
}

a{color:"#3C00FF";
}
</style>
</head>
<body topmargin="0" bottommargin="0" rightmargin="0" leftmargin="0">
<center><table height="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="735" height="150" background="top.gif"> </td>
</tr>
<tr>
<td width="735" height="32" background="nav.gif" valign="top">
	<font size="2">      <b><a href="index.html">Home</a>
	  |  <a href="contact_us.html">Contact Us</a>
	  |  <a href="http://www.geekforce.co.za/geekhost_support.html">Support</a>
	  |  <a href="https://secure.konsoleh.co.za">Mail Login</a>	
	  |  <a href=" http://dsl.wadns.net">ADSL Console</a>
	  |  <a href="terms.html">Terms & Conditions</a>
	  |  <a href="Geek Host Pricelist.pdf">Download Pricelist</a></font></b></td>
</tr>
<tr>
<td width="735" background="main3.gif" align="center" valign="top">
	<table>
	<tr>
		<td valign="top" colspan="2" align="center"><br>  <img src="adsl1.gif" width="150"></td>
		<td valign="top" colspan="2"><br><div class="scrollable"><table><tr><td colspan="4"><br><blockquote width="400"><b><font color="#3C00FF"><h3><u>ADSL</u></h3></font></b><font color="#FF6600">ADSL is a form of DSL, a data communications technology that enables faster data transmission over copper telephone lines than a conventional voiceband modem can provide.</font></blockquote></td>
	</tr>

	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top" colspan="2"><blockquote width="400"><font color="#3C00FF"><b>Geek Complete: </b></font><font color="#FF6600">One stop ADSL Solution. We supply ADSL Services on your normal Telkom line, including an ADSL Router and Data Bundle. Available with 1GB, 3Gb, 5GB and 10GB data bundles.</font></blockquote></td>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top"><br><br>  </td>
		<td valign="top"><blockquote width="400">
				<table cellspacing="0" cellpadding="1" border="1" width="390">
				<tr bgcolor="#FF6600">
				<td><b><font color="#FFFFFF">Geek Complete</font></b></td>
				<td><b><font color="#FFFFFF">Price / M</font></b></td></tr>
				<tr>
					<td align="center"><font color="#FF6600">Installation</font></td>
					<td align="center"><font color="#FF6600">R 485.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">384 KB / 1 GB</font></td>
					<td align="center"><font color="#FF6600">R 285.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">512 KB / 3 GB</font></td>
					<td align="center"><font color="#FF6600">R 590.00</font></td>
				</tr>
				</table></blockquote>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top" colspan="2"><blockquote width="400"><font color="#3C00FF"><b>Geek Premium: </b></font><font color="#FF6600">Our most popular range of ADSL packages, designed for surfing the web and retrieving or sending email. This service gives priority to HTTP, which is the protocol assigned to most Internet websites. Available in 1GB, 3GB, 5GB, 10GB, 20GB, and 30GB data bundles.</font></blockquote></td>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top"><br><br>  </td>
		<td valign="top"><blockquote width="400">
				<table cellspacing="0" cellpadding="1" border="1" width="390">
				<tr bgcolor="#FF6600">
				<td><b><font color="#FFFFFF">Geek Premium</font></b></td>
				<td><b><font color="#FFFFFF">Price / M</font></b></td></tr>
				<tr>
					<td align="center"><font color="#FF6600">1 GB</font></td>
					<td align="center"><font color="#FF6600">R 150.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">2 GB</font></td>
					<td align="center"><font color="#FF6600">R 280.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">3 GB</font></td>
					<td align="center"><font color="#FF6600">R 350.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">5 GB</font></td>
					<td align="center"><font color="#FF6600">R 450.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">10 GB</font></td>
					<td align="center"><font color="#FF6600">R 750.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">20 GB</font></td>
					<td align="center"><font color="#FF6600">R 1300.00</font></td>
				</tr>
				</table></blockquote>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top" colspan="2"><blockquote width="400"><font color="#3C00FF"><b>Geek Unshaped: </b></font><font color="#FF6600">Offers higher data transfer rates and support gaming and internet activity that demands lowlatency. All protocols will therefore share the available bandwidth equally. Available in 1GB and 4GB data bundles.</font></blockquote></td>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top"><br><br>  </td>
		<td valign="top"><blockquote width="400">
				<table cellspacing="0" cellpadding="1" border="1" width="390">
				<tr bgcolor="#FF6600">
				<td><b><font color="#FFFFFF">Geek Unshaped</font></b></td>
				<td><b><font color="#FFFFFF">Price / M</font></b></td></tr>
				<tr>
					<td align="center"><font color="#FF6600">1 GB</font></td>
					<td align="center"><font color="#FF6600">R 230.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">4 GB</font></td>
					<td align="center"><font color="#FF6600">R 810.00</font></td>
				</tr>
				</table></blockquote>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top" colspan="2"><blockquote width="400"><font color="#3C00FF"><b>Geek Pre-Paid: </b></font><font color="#FF6600">For the light occasional user with no recurring monthly fees. Available in Premium and Unshaped.(bandwidth purchase in units of 1GB)</font></blockquote></td>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top"><br><br>  </td>
		<td valign="top"><blockquote width="400">
				<table cellspacing="0" cellpadding="1" border="1" width="390">
				<tr bgcolor="#FF6600">
				<td><b><font color="#FFFFFF">Geek Pre-Paid</font></b></td>
				<td><b><font color="#FFFFFF">Price / M</font></b></td></tr>
				<tr>
					<td align="center"><font color="#FF6600">Setup Fee</font></td>
					<td align="center"><font color="#FF6600">R 100.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">Shaped 1 GB</font></td>
					<td align="center"><font color="#FF6600">R 160.00</font></td>
				</tr>
				<tr>
					<td align="center"><font color="#FF6600">Unshaped 1 GB</font></td>
					<td align="center"><font color="#FF6600">R 240.00</font></td>
				</tr>
				</table></blockquote>
		</td>
	</tr>
	<tr>
		<td valign="top"><br>  </td>
		<td valign="top"><br>  </td>
		<td valign="top" colspan="2"><blockquote width="400"><font color="#FF6600"><ul>
<li>All ADSL connectivity are provided thru our Data Centre with a Tier 1 Fibre Internet Connection.</li>
<li>Instant Account activation.</li>
<li>Support via telephone & e-mail.</li>
<li>Graphical Usage statistics.</li>
</ul></font></blockquote>
</td>
</tr>
</table></div></td></tr></table>
</td>
</tr>
<tr>
<td width="735" height="42" background="bottom2.gif"> </td>
</tr>
</table>

Link to comment
Share on other sites

sorry can't stand 'em enough to help out.... Wink sowwie

 

Hate to say it, but the majority of the time I can't be bothered either. Table based code is too much troubles to read - all that unnecessary code.

 

That doesn't help either, but good luck with your problem! At the very least I'm bumping it for you.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.