| Gabriel Petrioli 2005-09-29, 6:17 pm |
| so i have a horizontal table where each <td> contains a link and has
specified width
i want the link inside to fit the cell exactly so that on :hover i can
change the background
all works fine if i declare a style like
a.category{
display:block;
height: 100%;
}
a.category:hover{
background-color: #ffffff;
}
the problem is if one of the links (which are dynamic) breaks in two
lines because of the fixed width
then all links except the two line links will act as if they were one
line (background of one line only)
so is it possible to make the links (one or two lines in the same row of
the table) to fill their cells ?
thanks in advance
gabriel
|