Posted by Giorgio on 06/18/05 12:02
Hi,
I use this code to extend <A> area to all the black cell, but i can't center
the links vertically.
Can you help me, please?
Thanks
<HTML>
<HEAD>
<TITLE></TITLE>
<style type="text/css">
<!--
td a {
display:block;
width:40px;
height: 40px;
background-color:#000000;
vertical-align: middle;
color: #ffffff;
text-align:center;
text-decoration:none;
font-family:verdana;
font-weight:bold;
}
td a:hover {
background: #80ff40;
color: #000000;
}
-->
</style>
</HEAD>
<BODY>
<TABLE>
<TR>
<TD><A href="#">1</A></TD><TD><A href="#">2</A></TD><TD><A
href="#">3</A></TD>
</TR>
</TABLE>
</BODY></HTML>
Navigation:
[Reply to this message]
|