Uzair
08-07-2005, 01:13 PM
I'm having problems controlling my cell links. I want the whole cell as a link. I'm using the following CSS for this purpose but when I define CELL HEIGHT in CSS, the text then vertically align to TOP. And if I dont set CELL HEIGHT, everything is fine. How can I solve this problem.
The Code is here...
<HEAD>
.tablink:visited{color: #993333; text-decoration: none;}
.tablink:active{color: #993333;}
.tablink:link{color: #993333; text-decoration: none;}
.tablink:hover{text-decoration: none; color: #DCA59C; background-color: #FFFFFF;}
.tablink{align: middle; display: block; width: 120;}
<BODY>
<td valign="middle" style="padding-left: 3px;"><a href="#" class="tablink">Welcome</a></td>
The Code is here...
<HEAD>
.tablink:visited{color: #993333; text-decoration: none;}
.tablink:active{color: #993333;}
.tablink:link{color: #993333; text-decoration: none;}
.tablink:hover{text-decoration: none; color: #DCA59C; background-color: #FFFFFF;}
.tablink{align: middle; display: block; width: 120;}
<BODY>
<td valign="middle" style="padding-left: 3px;"><a href="#" class="tablink">Welcome</a></td>