[url=http://store.baytonemusic.com/mm5/merchant.mvc?Screen=SFNT&Store_Code=BTM]
[/url]
The item in question is the link, _Songbooks_ in the far left table cell, 2nd row.
I have a 10px x 65px image that is repeating as part of my style.
CODE
.storeFront_links {
/*padding: 40px 0 0 0;*/
color: #000000;
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
font-style: italic;
font-size: 20px;
text-decoration: none;
vertical-align: middle;
height: 70px;
background-image: url(../Images/storeFront_linksBkgd.gif);
background-repeat: repeat-x;
}
.storeFront_links a:link {
color: #0000CC;
text-decoration: none;
}
.storeFront_links a:visited {
color: #999999;
text-decoration: none;
}
.storeFront_links a:hover {
text-decoration: none;
background-image: url(../Images/storeFront_linksBkgdLt.gif);
background-repeat: repeat-x;
}
.storeFront_links a:active {
text-decoration: none;
}
On hover, I want a different img (lighter in color) to repeat for a rollover button-type effect. This would be similar to how the Spry navbar in my title banner works. It's inside a table cell with this code:
CODE
<table border="1" cellpadding="5" cellspacing="0" width="100%">
<tr>
<td style="text-align: center;">
<div class="storeFront_links"><a href="http://store.baytonemusic.com/mm5/merchant.mvc?Screen=CTGY&Store_Code=BTM&Category_Code=SNGBKS">Songbooks</a></div>
</td>
First problem, the image swaps and repeats on hover but is only as large as the text itself. Adding _height: 70px;_ to the hover style changes nothing. I've played with the padding and margins but no go.
Second problem, I can't get the text to vertically align in the middle of the cell. This appears to be linked to the 70px height value. Adding _vertical-align: middle;_ to the td (inline above) style was ineffective.
Right now, I am able to test in only Safari 3.1.2 and FF 2.0.0.15.
The worst part is that I'm not even sure I'm going to be that crazy about it if I get it working. Just one of those days.
Any thoughts appreciated - JAY
