Hi, I am using IE6 for a database front-end.
I have an image rollover with the CSS code:
a.RolloverEdit {
display : block;
width : 23px;
height : 23px;
background : url("images/rollovers/Edit.png") 0 0 no-repeat;
text-decoration: none;
}
a:hover.RolloverEdit {
background-position: -23px 0;
}
a:active.RolloverEdit {
background-position: -46px 0;
}
Which is used to show a rollover image in a table as follows:
<table class="DataTable" cellspacing="0" cellpadding="0" border="1">
<tr class="textlightgray" height="16">
<td width="23" align="right" valign="bottom"><a class="RolloverEdit" href="#" title="Edit Details"></a></td>
</tr>
</table>
The table row is to be 16px high (which is specified in the TR tag, but the CSS makes the image sit at the top of the table cell and push the height of the row up further than 16px.
This is extremely annoying! Could anyone please help me out?
Richard
I have an image rollover with the CSS code:
a.RolloverEdit {
display : block;
width : 23px;
height : 23px;
background : url("images/rollovers/Edit.png") 0 0 no-repeat;
text-decoration: none;
}
a:hover.RolloverEdit {
background-position: -23px 0;
}
a:active.RolloverEdit {
background-position: -46px 0;
}
Which is used to show a rollover image in a table as follows:
<table class="DataTable" cellspacing="0" cellpadding="0" border="1">
<tr class="textlightgray" height="16">
<td width="23" align="right" valign="bottom"><a class="RolloverEdit" href="#" title="Edit Details"></a></td>
</tr>
</table>
The table row is to be 16px high (which is specified in the TR tag, but the CSS makes the image sit at the top of the table cell and push the height of the row up further than 16px.
This is extremely annoying! Could anyone please help me out?
Richard