To fix IE's alignment problem, use this syntax (get rid of the a tag and asign its attributes to the input):
Code:
<input rel="submenupubs" rev="lr" type="button" name="Button" class="anchorclass styleMenuMain" value="Publications" onMouseOver="this.style.color='yellow'" onMouseOut="this.style.color='red'" onMouseDown="this.style.color='lime'" onClick="jumpTo('publications.html')">
instead of:
Code:
<a href="publications.html" class="anchorclass" rel="submenupubs" rev="lr"><input type="button" name="Button" class="styleMenuMain" value="Publications" onMouseOver="this.style.color='yellow'" onMouseOut="this.style.color='red'" onMouseDown="this.style.color='lime'" onClick="jumpTo('publications.html')"></a>
Do the same thing for the bookstall button.
The issue in Firefox is one of stacking, the mouse doesn't know it is over or leaving the buttons at times. There is no apparent logic to this (it's either a browser quirk or could possibly be explained by strict interpretation of script and style directives for the elements), but we can remove all doubt by stacking the buttons high in the foreground with these styles:
Code:
input.styleMenuMain {
position:relative!important;
z-index:10000!important;
}
Bookmarks