Jump to content

Severe table problem


Yamaha32088

Recommended Posts

Alright I am having major problems and have been working on this for hours and still having come up with anything. I have got a template I am modifying I have gotten rid of the default links on the template and have just left one and what I am doing is pulling link names and the URL from a MySQL database which works fine. The problem I am having is that the link name is longer then the width of the table so it creates a new line with the rest of the name. I do not want that I want it to be able to automatically adjust its width for every new link added since it is loaded dynamically and will be set as the default website template. I have tried to adjust the table width but all it does is make the page wider and messes up all of the pictures by leaving whitespace between them. I will include the original code and the code I have modified with the PHP. Any help is greatly appreciated.

 

 

ORIGINAL CODE

<HTML>
<HEAD>
<TITLE>co-casher-17</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">
<style type="text/css"><!--
   .header {font-family:Verdana, sans-serif; font-size: 12px; COLOR:#2FFFFF; padding-left:10; padding-right:5; font-weight:900 }
   .text {font-family:Tahoma,sans-serif; font-size: 11px; color:#000000; padding-left:20; padding-right:10 }
      .text2 {font-family:Tahoma,sans-serif; font-size: 11px; color:#404040; padding-left:10; padding-right:10 }
    .news {font-family:Arial, sans-serif; font-size: 9pt; color:#000000; padding-left:10; padding-right:5; font-weight:900; }
   a:link{text-decoration: underline; color:#D92D0A}
  a:visited{text-decoration: underline; color: #D92D0A}
  a:hover{text-decoration: underline; color: #D92D0A}
  a:active{text-decoration: underline; color: #D92D0A}
--></style>
</HEAD>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<!-- ImageReady Slices (co-casher-17.psd) -->
<TABLE WIDTH=780 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center" height=100%>
<TR>
<td bgcolor=#000000 rowspan=100><img src="images/spacer.gif" with=1></td>
	<TD COLSPAN=4 ROWSPAN=2 WIDTH=240 HEIGHT=69>

		<IMG SRC="images/1.jpg" WIDTH=240 HEIGHT=69 ALT=""></TD>
	<TD COLSPAN=12 WIDTH=540 HEIGHT=21>
		<IMG SRC="images/2.jpg" WIDTH=540 HEIGHT=21 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=21 ALT=""></TD>
		<td bgcolor=#000000 rowspan=100><img src="images/spacer.gif" with=1></td>
</TR>
<TR>
	<TD WIDTH=66 HEIGHT=48>

		<a href="http://"><img src="images/3.jpg" width=66 height=48 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=70 HEIGHT=48>
		<a href="http://"><img src="images/4.jpg" width=70 height=48 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=78 HEIGHT=48>
		<a href="http://"><img src="images/5.jpg" width=78 height=48 alt="" border=0></a></TD>
	<TD COLSPAN=3 WIDTH=96 HEIGHT=48>
		<a href="http://"><img src="images/6.jpg" width=96 height=48 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=84 HEIGHT=48>
		<a href="http://"><img src="images/7.jpg" width=84 height=48 alt="" border=0></a></TD>

	<TD WIDTH=42 HEIGHT=48>
		<a href="http://"><img src="images/8.jpg" width=42 height=48 alt="" border=0></a></TD>
	<TD WIDTH=104 HEIGHT=48>
		<a href="http://"><img src="images/9.jpg" width=104 height=48 alt="" border=0></a></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=48 ALT=""></TD>
</TR>
<TR>
	<TD COLSPAN=13 ROWSPAN=2 WIDTH=600 HEIGHT=34>

		<IMG SRC="images/10.jpg" WIDTH=600 HEIGHT=34 ALT=""></TD>
	<TD COLSPAN=3 WIDTH=180 HEIGHT=25>
		<IMG SRC="images/11.jpg" WIDTH=180 HEIGHT=25 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=25 ALT=""></TD>
</TR>
<TR>
	<TD COLSPAN=3 ROWSPAN=2  background="images/12.jpg" WIDTH=180 HEIGHT=26 ALT="" align="center">
        <input type="Text" value="" name="" style="width:150">

        </TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=9 ALT=""></TD>
</TR>
<TR>
	<TD COLSPAN=3 ROWSPAN=2 WIDTH=192 HEIGHT=53>
		<IMG SRC="images/13.jpg" WIDTH=192 HEIGHT=53 ALT=""></TD>
	<TD COLSPAN=10 ROWSPAN=2 WIDTH=408 HEIGHT=53>
		<IMG SRC="images/14.jpg" WIDTH=408 HEIGHT=53 ALT=""></TD>

	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=17 ALT=""></TD>
</TR>
<TR>
	<TD COLSPAN=3 WIDTH=180 HEIGHT=36>
		<a href="http://"><img src="images/15.jpg" width=180 height=36 alt="" border=0></a></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=36 ALT=""></TD>
</TR>

<TR>
	<TD COLSPAN=3 height=100% valign="top" background="images/bbl.jpg">
	     <!--buttons-->
<TABLE WIDTH=192 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center">
<TR><td background="images/but1.jpg" height=20 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Accessories</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Barebone Kits</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Cables</b></a></div></td></tr>

    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>CD / CD-RW / DVD</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Components</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Computer Cases</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Cooling Products</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Desktop PCs</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Digital Cameras</b></a></div></td></tr>

    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Electronics</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Flash Memory</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Hard Disk Drives</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Input Devices</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Laptops / Notebooks</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Media</b></a></div></td></tr>

    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Memory</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Modems</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Monitors</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Motherboards</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Motherboard & CPU</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>MP3 Audio</b></a></div></td></tr>

    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Networking</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Office Equipment</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>PDAs</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Plasma Displays</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Power Protection</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Printers</b></a></div></td></tr>

    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Printer Supplies</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Processors (CPUs)</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Projectors</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Removable Storage</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Scanners </b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Servers</b></a></div></td></tr>

    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Software</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Software - Download</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Sound Cards</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Speakers</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Training</b></a></div></td></tr>
    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Video Cards</b></a></div></td></tr>

    <TR><td background="images/but.jpg" height=19 width=192 style="padding-left:10"><div class="text"><a href="http://"><b>Wireless Networking</b></a></div></td></tr>
    
    </table>	
	     
	     <!--buttons-->		

	</TD>
	<TD COLSPAN=13 height=100% valign="top" background="images/bgr.jpg" WIDTH=588 style="padding-left:20">
	 <br><br>
        <!-- right text-->

<TABLE WIDTH=400 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="left" >
<TR><td colspan=2><IMG SRC="images/r1.jpg" WIDTH=200 HEIGHT=40 ALT=""></td>

    <td colspan=2><IMG SRC="images/r3.jpg" WIDTH=200 HEIGHT=40 ALT=""></td></tr>	
<TR><td colspan=2><IMG SRC="images/r2.jpg" WIDTH=200 HEIGHT=113 ALT=""></td>
    <td colspan=2><IMG SRC="images/r4.jpg" WIDTH=199 HEIGHT=113 ALT=""></td></tr>
    <TR><td  colspan=2 background="images/rr1.jpg" WIDTH=200 HEIGHT=33 ALT="">
    <div class="text"> This is the most powerful desktop<br>
computer we've ever offered! </div>
    </td><td colspan=2 background="images/rr2.jpg" WIDTH=199 HEIGHT=33 ALT=""><div class="text"> This is the most powerful desktop<br>

computer we've ever offered! </div></td></tr>
     <TR><td colspan=1><a href="http://"><img src="images/r13.jpg" width=102 height=32 border=0 alt=""></a></td>
<td colspan=1><a href="http://"><img src="images/r14.jpg" width=98 height=32 border=0 alt=""></a></td>
    <td colspan=1><a href="http://"><img src="images/r13.jpg" width=102 height=32 border=0 alt=""></a></td>
<td colspan=1><a href="http://"><img src="images/r14.jpg" width=98 height=32 border=0 alt=""></a></td>	    		
	     </tr>
	     
	     	<TR><td colspan=2><IMG SRC="images/r5.jpg" WIDTH=200 HEIGHT=40 ALT=""></td>
    <td colspan=2><IMG SRC="images/r7.jpg" WIDTH=200 HEIGHT=40 ALT=""></td></tr>	
<TR><td colspan=2><IMG SRC="images/r6.jpg" WIDTH=200 HEIGHT=113 ALT=""></td>
    <td colspan=2><IMG SRC="images/r8.jpg" WIDTH=199 HEIGHT=113 ALT=""></td></tr>

    <TR><td  colspan=2 background="images/rr1.jpg" WIDTH=200 HEIGHT=33 ALT="">
    <div class="text"> This is the most powerful desktop<br>
computer we've ever offered! </div>
    </td><td colspan=2 background="images/rr2.jpg" WIDTH=199 HEIGHT=33 ALT=""><div class="text"> This is the most powerful desktop<br>
computer we've ever offered! </div></td></tr>
     <TR><td colspan=1><a href="http://"><img src="images/r13.jpg" width=102 height=32 border=0 alt=""></a></td>
<td colspan=1><a href="http://"><img src="images/r14.jpg" width=98 height=32 border=0 alt=""></a></td>

    <td colspan=1><a href="http://"><img src="images/r13.jpg" width=102 height=32 border=0 alt=""></a></td>
<td colspan=1><a href="http://"><img src="images/r14.jpg" width=98 height=32 border=0 alt=""></a></td>	    		
	     </tr>
	     

           	<TR><td colspan=2><IMG SRC="images/r9.jpg" WIDTH=200 HEIGHT=40 ALT=""></td>
    <td colspan=2><IMG SRC="images/r11.jpg" WIDTH=200 HEIGHT=40 ALT=""></td></tr>	
<TR><td colspan=2><IMG SRC="images/r10.jpg" WIDTH=200 HEIGHT=113 ALT=""></td>
    <td colspan=2><IMG SRC="images/r12.jpg" WIDTH=199 HEIGHT=113 ALT=""></td></tr>
    <TR><td  colspan=2 background="images/rr1.jpg" WIDTH=200 HEIGHT=33 ALT="">
    <div class="text"> This is the most powerful desktop<br>

computer we've ever offered! </div>
    </td><td colspan=2 background="images/rr2.jpg" WIDTH=199 HEIGHT=33 ALT=""><div class="text"> This is the most powerful desktop<br>
computer we've ever offered! </div></td></tr>
     <TR><td colspan=1><a href="http://"><img src="images/r13.jpg" width=102 height=32 border=0 alt=""></a></td>
<td colspan=1><a href="http://"><img src="images/r14.jpg" width=98 height=32 border=0 alt=""></a></td>
    <td colspan=1><a href="http://"><img src="images/r13.jpg" width=102 height=32 border=0 alt=""></a></td>
<td colspan=1><a href="http://"><img src="images/r14.jpg" width=98 height=32 border=0 alt=""></a></td>	    		
	     </tr>

             
         </table>


	<!-- right text-->
</TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=727 ALT=""></TD>
</TR>
<TR>
	<TD COLSPAN=16 WIDTH=780 HEIGHT=13 >
		<IMG SRC="images/18.jpg" WIDTH=780 HEIGHT=13 ALT=""></TD>

	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=13 ALT=""></TD>
</TR>
<TR>
	<TD WIDTH=110 HEIGHT=25>
		<IMG SRC="images/19.jpg" WIDTH=110 HEIGHT=25 ALT=""></TD>
	<TD WIDTH=65 HEIGHT=25>
		<a href="http://"><img src="images/20.jpg" width=65 height=25 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=65 HEIGHT=25>

		<a href="http://"><img src="images/21.jpg" width=65 height=25 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=84 HEIGHT=25>
		<a href="http://"><img src="images/22.jpg" width=84 height=25 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=95 HEIGHT=25>
		<a href="http://"><img src="images/23.jpg" width=95 height=25 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=86 HEIGHT=25>
		<a href="http://"><img src="images/24.jpg" width=86 height=25 alt="" border=0></a></TD>
	<TD WIDTH=37 HEIGHT=25>
		<a href="http://"><img src="images/25.jpg" width=37 height=25 alt="" border=0></a></TD>

	<TD COLSPAN=3 WIDTH=92 HEIGHT=25>
		<a href="http://"><img src="images/26.jpg" width=92 height=25 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=146 HEIGHT=25>
		<IMG SRC="images/27.jpg" WIDTH=146 HEIGHT=25 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=25 ALT=""></TD>
</TR>
<TR>
	<TD COLSPAN=16  background="images/28.jpg" WIDTH=780 HEIGHT=30 ALT="" align="center">

      <div class="text" style="color:808080">  2003 (c) Copyright CompanyName, inc. All rights reserved. Read
        <a href="http://">Legal Policy</a> and <a href="http://">Privacy Policy.</a></div>
        </TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=30 ALT=""></TD>
</TR>
<TR>

	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=110 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=65 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=17 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=48 HEIGHT=1 ALT=""></TD>
	<TD>

		<IMG SRC="images/spacer.gif" WIDTH=66 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=18 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=52 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=43 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=35 HEIGHT=1 ALT=""></TD>

	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=51 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=37 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=8 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=50 HEIGHT=1 ALT=""></TD>
	<TD>

		<IMG SRC="images/spacer.gif" WIDTH=34 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=42 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=104 HEIGHT=1 ALT=""></TD>
	<TD></TD>
</TR>
</TABLE>
<!-- End ImageReady Slices -->
</BODY>

</HTML>

 

 

MODIFIED CODE

<?php require_once('../Connections/PCPAGEADS.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") 
{
  $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;

  $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

  switch ($theType) {
    case "text":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;    
    case "long":
    case "int":
      $theValue = ($theValue != "") ? intval($theValue) : "NULL";
      break;
    case "double":
      $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL";
      break;
    case "date":
      $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
      break;
    case "defined":
      $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
      break;
  }
  return $theValue;
}
}

mysql_select_db($database_PCPAGEADS, $PCPAGEADS);
$query_Recordset1 = "SELECT * FROM Categorys";
$Recordset1 = mysql_query($query_Recordset1, $PCPAGEADS) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
$totalRows_Recordset1 = mysql_num_rows($Recordset1);
?><HTML>
<HEAD>
<TITLE>co-casher-17</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1251">
<style type="text/css"><!--
   .header {font-family:Verdana, sans-serif; font-size: 12px; COLOR:#2FFFFF; padding-left:10; padding-right:5; font-weight:900 }
   .text {font-family:Tahoma,sans-serif; font-size: 11px; color:#000000; padding-left:20; padding-right:10 }
      .text2 {font-family:Tahoma,sans-serif; font-size: 11px; color:#404040; padding-left:10; padding-right:10 }
    .news {font-family:Arial, sans-serif; font-size: 9pt; color:#000000; padding-left:10; padding-right:5; font-weight:900; }
   a:link{text-decoration: underline; color:#D92D0A}
  a:visited{text-decoration: underline; color: #D92D0A}
  a:hover{text-decoration: underline; color: #D92D0A}
  a:active{text-decoration: underline; color: #D92D0A}
--></style>
</HEAD>
<BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<!-- ImageReady Slices (co-casher-17.psd) -->
<TABLE WIDTH=780 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center" height=100%>
<TR>
<td bgcolor=#000000 rowspan=100><img src="images/spacer.gif" with=1></td>
	<TD COLSPAN=4 ROWSPAN=2 WIDTH=240 HEIGHT=69>

		<IMG SRC="images/1.jpg" WIDTH=240 HEIGHT=69 ALT=""></TD>
	<TD COLSPAN=12 WIDTH=540 HEIGHT=21>
		<IMG SRC="images/2.jpg" WIDTH=540 HEIGHT=21 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=21 ALT=""></TD>
		<td bgcolor=#000000 rowspan=100><img src="images/spacer.gif" with=1></td>
</TR>
<TR>
	<TD WIDTH=66 HEIGHT=48>

		<a href="http://"><img src="images/3.jpg" width=66 height=48 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=70 HEIGHT=48>
		<a href="http://"><img src="images/4.jpg" width=70 height=48 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=78 HEIGHT=48>
		<a href="http://"><img src="images/5.jpg" width=78 height=48 alt="" border=0></a></TD>
	<TD COLSPAN=3 WIDTH=96 HEIGHT=48>
		<a href="http://"><img src="images/6.jpg" width=96 height=48 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=84 HEIGHT=48>
		<a href="http://"><img src="images/7.jpg" width=84 height=48 alt="" border=0></a></TD>

	<TD WIDTH=42 HEIGHT=48>
		<a href="http://"><img src="images/8.jpg" width=42 height=48 alt="" border=0></a></TD>
	<TD WIDTH=104 HEIGHT=48>
		<a href="http://"><img src="images/9.jpg" width=104 height=48 alt="" border=0></a></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=48 ALT=""></TD>
</TR>
<TR>
	<TD COLSPAN=13 ROWSPAN=2 WIDTH=600 HEIGHT=34>

		<IMG SRC="images/10.jpg" WIDTH=600 HEIGHT=34 ALT=""></TD>
	<TD COLSPAN=3 WIDTH=180 HEIGHT=25>
		<IMG SRC="images/11.jpg" WIDTH=180 HEIGHT=25 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=25 ALT=""></TD>
</TR>
<TR>
	<TD COLSPAN=3 ROWSPAN=2  background="images/12.jpg" WIDTH=180 HEIGHT=26 ALT="" align="center">
        <input type="Text" value="" name="" style="width:150">

        </TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=9 ALT=""></TD>
</TR>
<TR>
	<TD COLSPAN=3 ROWSPAN=2 WIDTH=192 HEIGHT=53>
		<IMG SRC="images/13.jpg" WIDTH=192 HEIGHT=53 ALT=""></TD>
	<TD COLSPAN=10 ROWSPAN=2 WIDTH=408 HEIGHT=53>
		<IMG SRC="images/14.jpg" WIDTH=408 HEIGHT=53 ALT=""></TD>

	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=17 ALT=""></TD>
</TR>
<TR>
	<TD COLSPAN=3 WIDTH=180 HEIGHT=36>
		<a href="http://"><img src="images/15.jpg" width=180 height=36 alt="" border=0></a></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=36 ALT=""></TD>
</TR>

<TR>
  <TD COLSPAN=3 height=100% valign="top" background="images/bbl.jpg">
	     <!--buttons-->
         <?php do { ?>
             <TABLE WIDTH=192 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="center">
               <TR><td colspan="3" background="images/but1.jpg" height=20 width=192 style="padding-left:10"><div class="text"><a href="<?php echo $row_Recordset1['URL']; ?>"><b><?php echo $row_Recordset1['type']; ?></b></a></div></td></tr>
                          </table>
           <?php } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1)); ?>
               <!--buttons-->		

	</TD>
	<TD COLSPAN=13 height=100% valign="top" background="images/bgr.jpg" WIDTH=588 style="padding-left:20">
	 <br><br>
        <!-- right text-->

<TABLE WIDTH=400 BORDER=0 CELLPADDING=0 CELLSPACING=0 align="left" >
<TR><td colspan=2><IMG SRC="images/r1.jpg" WIDTH=200 HEIGHT=40 ALT=""></td>

    <td colspan=2><IMG SRC="images/r3.jpg" WIDTH=200 HEIGHT=40 ALT=""></td></tr>	
<TR><td colspan=2><IMG SRC="images/r2.jpg" WIDTH=200 HEIGHT=113 ALT=""></td>
    <td colspan=2><IMG SRC="images/r4.jpg" WIDTH=199 HEIGHT=113 ALT=""></td></tr>
    <TR><td  colspan=2 background="images/rr1.jpg" WIDTH=200 HEIGHT=33 ALT="">
    <div class="text"> This is the most powerful desktop<br>
computer we've ever offered! </div>
    </td><td colspan=2 background="images/rr2.jpg" WIDTH=199 HEIGHT=33 ALT=""><div class="text"> This is the most powerful desktop<br>

computer we've ever offered! </div></td></tr>
     <TR><td colspan=1><a href="http://"><img src="images/r13.jpg" width=102 height=32 border=0 alt=""></a></td>
<td colspan=1><a href="http://"><img src="images/r14.jpg" width=98 height=32 border=0 alt=""></a></td>
    <td colspan=1><a href="http://"><img src="images/r13.jpg" width=102 height=32 border=0 alt=""></a></td>
<td colspan=1><a href="http://"><img src="images/r14.jpg" width=98 height=32 border=0 alt=""></a></td>	    		
        </tr>
	     
	     	<TR><td colspan=2><IMG SRC="images/r5.jpg" WIDTH=200 HEIGHT=40 ALT=""></td>
    <td colspan=2><IMG SRC="images/r7.jpg" WIDTH=200 HEIGHT=40 ALT=""></td></tr>	
<TR><td colspan=2><IMG SRC="images/r6.jpg" WIDTH=200 HEIGHT=113 ALT=""></td>
    <td colspan=2><IMG SRC="images/r8.jpg" WIDTH=199 HEIGHT=113 ALT=""></td></tr>

    <TR><td  colspan=2 background="images/rr1.jpg" WIDTH=200 HEIGHT=33 ALT="">
    <div class="text"> This is the most powerful desktop<br>
computer we've ever offered! </div>
    </td><td colspan=2 background="images/rr2.jpg" WIDTH=199 HEIGHT=33 ALT=""><div class="text"> This is the most powerful desktop<br>
computer we've ever offered! </div></td></tr>
     <TR><td colspan=1><a href="http://"><img src="images/r13.jpg" width=102 height=32 border=0 alt=""></a></td>
<td colspan=1><a href="http://"><img src="images/r14.jpg" width=98 height=32 border=0 alt=""></a></td>

    <td colspan=1><a href="http://"><img src="images/r13.jpg" width=102 height=32 border=0 alt=""></a></td>
<td colspan=1><a href="http://"><img src="images/r14.jpg" width=98 height=32 border=0 alt=""></a></td>	    		
        </tr>
	     

           	<TR><td colspan=2><IMG SRC="images/r9.jpg" WIDTH=200 HEIGHT=40 ALT=""></td>
    <td colspan=2><IMG SRC="images/r11.jpg" WIDTH=200 HEIGHT=40 ALT=""></td></tr>	
<TR><td colspan=2><IMG SRC="images/r10.jpg" WIDTH=200 HEIGHT=113 ALT=""></td>
    <td colspan=2><IMG SRC="images/r12.jpg" WIDTH=199 HEIGHT=113 ALT=""></td></tr>
    <TR><td  colspan=2 background="images/rr1.jpg" WIDTH=200 HEIGHT=33 ALT="">
    <div class="text"> This is the most powerful desktop<br>

computer we've ever offered! </div>
    </td><td colspan=2 background="images/rr2.jpg" WIDTH=199 HEIGHT=33 ALT=""><div class="text"> This is the most powerful desktop<br>
computer we've ever offered! </div></td></tr>
     <TR><td colspan=1><a href="http://"><img src="images/r13.jpg" width=102 height=32 border=0 alt=""></a></td>
<td colspan=1><a href="http://"><img src="images/r14.jpg" width=98 height=32 border=0 alt=""></a></td>
    <td colspan=1><a href="http://"><img src="images/r13.jpg" width=102 height=32 border=0 alt=""></a></td>
<td colspan=1><a href="http://"><img src="images/r14.jpg" width=98 height=32 border=0 alt=""></a></td>	    		
        </tr>

             
         </table>


	<!-- right text-->
</TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=727 ALT=""></TD>
</TR>
<TR>
	<TD COLSPAN=16 WIDTH=780 HEIGHT=13 >
		<IMG SRC="images/18.jpg" WIDTH=780 HEIGHT=13 ALT=""></TD>

	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=13 ALT=""></TD>
</TR>
<TR>
	<TD WIDTH=110 HEIGHT=25>
		<IMG SRC="images/19.jpg" WIDTH=110 HEIGHT=25 ALT=""></TD>
	<TD WIDTH=65 HEIGHT=25>
		<a href="http://"><img src="images/20.jpg" width=65 height=25 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=65 HEIGHT=25>

		<a href="http://"><img src="images/21.jpg" width=65 height=25 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=84 HEIGHT=25>
		<a href="http://"><img src="images/22.jpg" width=84 height=25 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=95 HEIGHT=25>
		<a href="http://"><img src="images/23.jpg" width=95 height=25 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=86 HEIGHT=25>
		<a href="http://"><img src="images/24.jpg" width=86 height=25 alt="" border=0></a></TD>
	<TD WIDTH=37 HEIGHT=25>
		<a href="http://"><img src="images/25.jpg" width=37 height=25 alt="" border=0></a></TD>

	<TD COLSPAN=3 WIDTH=92 HEIGHT=25>
		<a href="http://"><img src="images/26.jpg" width=92 height=25 alt="" border=0></a></TD>
	<TD COLSPAN=2 WIDTH=146 HEIGHT=25>
		<IMG SRC="images/27.jpg" WIDTH=146 HEIGHT=25 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=25 ALT=""></TD>
</TR>
<TR>
	<TD COLSPAN=16  background="images/28.jpg" WIDTH=780 HEIGHT=30 ALT="" align="center">

      <div class="text" style="color:808080">  2003 (c) Copyright CompanyName, inc. All rights reserved. Read
        <a href="http://">Legal Policy</a> and <a href="http://">Privacy Policy.</a></div>
        </TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=30 ALT=""></TD>
</TR>
<TR>

	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=110 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=65 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=17 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=48 HEIGHT=1 ALT=""></TD>
	<TD>

		<IMG SRC="images/spacer.gif" WIDTH=66 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=18 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=52 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=43 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=35 HEIGHT=1 ALT=""></TD>

	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=51 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=37 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=8 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=50 HEIGHT=1 ALT=""></TD>
	<TD>

		<IMG SRC="images/spacer.gif" WIDTH=34 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=42 HEIGHT=1 ALT=""></TD>
	<TD>
		<IMG SRC="images/spacer.gif" WIDTH=104 HEIGHT=1 ALT=""></TD>
	<TD></TD>
</TR>
</TABLE>
<!-- End ImageReady Slices -->
</BODY>

</HTML>
<?php
mysql_free_result($Recordset1);
?>

Link to comment
https://forums.phpfreaks.com/topic/96660-severe-table-problem/
Share on other sites

  • 2 weeks later...

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.