bluedollar
Programmer
I have a table with a row containing a <th> and a <td>. I have set the bgcolor on the <tr>, however the colouring is as follows:
---------------------------------------------
: grey : : grey :
---------------------------------------------
There is a gap in the middle between the <th> and <td>. What I wanted is:
----------------------------------------------
: grey :
-----------------------------------------------
The code is shown below:
echo'<tr bgcolor="#CCCCCC" rules="none" cellspacing="0" cellpadding="0" bordercolor="#999999" cellpadding="0"><th align="left">'.$name.'</th>';
echo'<form name="type" action="checkoutscript.php" METHOD=POST>';
echo'<td align="right" ><input type="hidden" name="sel_item_id" value="'.$i.'"><input type="image" src="\\graphics/basketbutton3.gif" name="cproc"></td></tr>';
echo'</form>';
Does anyone know what I am doing wrong?
Any help would be greatly apprecaited.
Thanks
Dan
---------------------------------------------
: grey : : grey :
---------------------------------------------
There is a gap in the middle between the <th> and <td>. What I wanted is:
----------------------------------------------
: grey :
-----------------------------------------------
The code is shown below:
echo'<tr bgcolor="#CCCCCC" rules="none" cellspacing="0" cellpadding="0" bordercolor="#999999" cellpadding="0"><th align="left">'.$name.'</th>';
echo'<form name="type" action="checkoutscript.php" METHOD=POST>';
echo'<td align="right" ><input type="hidden" name="sel_item_id" value="'.$i.'"><input type="image" src="\\graphics/basketbutton3.gif" name="cproc"></td></tr>';
echo'</form>';
Does anyone know what I am doing wrong?
Any help would be greatly apprecaited.
Thanks
Dan