PDA

View Full Version : Code help



Jamieb
18-10-2007, 08:02 PM
Hey i got this code i tryed loads ot make it Align top but note works...


<td>
<table border="0" align="top" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100">
<tr>
<td width="18">
<img src="images/index_18.gif" width="18" height="10" alt=""></td>
<td width="58">
<img src="images/index_19.gif" width="512" height="10" alt=""></td>
<td width="24">
<img src="images/index_20.gif" width="10" height="10" alt=""></td>
</tr>
<tr>
<td background="images/index_26.gif" width="18">&nbsp;</td>
<td width="58" bgcolor="#FFFFFF">&nbsp;</td>
<td width="24" background="images/index_28.gif">&nbsp;</td>
</tr>
<tr>
<td width="18">
<img src="images/index_32.gif" width="18" height="10" alt=""></td>
<td width="58">
<img src="images/index_33.gif" width="512" height="10" alt=""></td>
<td width="24">
<img src="images/index_34.gif" width="10" height="10" alt=""></td>
</tr>
</table>
</td>


+rep and help

Drompo
18-10-2007, 08:18 PM
You seem to have used

align="top"
align refers to horizontal align

You want

valign="top"
Which is vertical align

Jamieb
18-10-2007, 08:20 PM
<td>
<table border="0" valign="top" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100">
<tr>
<td width="18">
<img src="images/index_18.gif" width="18" height="10" alt=""></td>
<td width="58">
<img src="images/index_19.gif" width="512" height="10" alt=""></td>
<td width="24">
<img src="images/index_20.gif" width="10" height="10" alt=""></td>
</tr>
<tr>
<td background="images/index_26.gif" width="18">&nbsp;</td>
<td width="58" bgcolor="#FFFFFF">&nbsp;<p>&nbsp;</td>
<td width="24" background="images/index_28.gif">&nbsp;</td>
</tr>
<tr>
<td width="18">
<img src="images/index_32.gif" width="18" height="10" alt=""></td>
<td width="58">
<img src="images/index_33.gif" width="512" height="10" alt=""></td>
<td width="24">
<img src="images/index_34.gif" width="10" height="10" alt=""></td>
</tr>
</table>
</td>



Still dont work :S

Want to hide these adverts? Register an account for free!