Forum Moderators: not2easy
a#Companies img {width: 127px; height: 40px; border-width: 0; background: top left no-repeat;}
a#Companies {
display: block;
width:127px; height:40px;
background-image: url(images/backgrounds/homeBkgrd/hp_bt_Com.png);
background-repeat: no-repeat;
}
a#Companies span {
display: none;
}
a#Companies:hover {
width:127px; height:40px;
background-image: url(images/backgrounds/homeBkgrd/compOver.png);
}
Use the a#Companies img note to use a transparent gif as the link placed in the html - the actual images are still contained in the CSS file.
Use the a#Companies span section to put in some non-displaying text for the readers.
in the html:
<a href="companies.html" id="Companies" onMouseOver="P7_autoLayers(0,'subCompanies')">
<span>Companies of the Place we work for</span>
<img src="images/navigation/homeNav/transparent10px.gif" alt="Companies of the Place we work for"></a></div>
Hope that make sense. You can ignore the auto layers thing if you aren't using hidden submenus.
Max