ali haydar
02-13-2012, 06:56 AM
hi everybody,
i'm putting a link inside a cell, and trying to make the entire cell clickable.. but when i do this can't make it vertically centered.. any help?
<table width="300" height="300" border="2" cellspacing="1" cellpadding="1">
<tr>
<td align="center"><a href="#">ali</a></td>
<td align="center">veli</td>
</tr>
<tr>
<td width="150" height="150" align="center"><a style="display:block;width:100%;height:100%;" href="#">kofte</a></td>
<td align="center">pilav</td>
</tr>
</table>
i'm putting a link inside a cell, and trying to make the entire cell clickable.. but when i do this can't make it vertically centered.. any help?
<table width="300" height="300" border="2" cellspacing="1" cellpadding="1">
<tr>
<td align="center"><a href="#">ali</a></td>
<td align="center">veli</td>
</tr>
<tr>
<td width="150" height="150" align="center"><a style="display:block;width:100%;height:100%;" href="#">kofte</a></td>
<td align="center">pilav</td>
</tr>
</table>