Hi,
I have a couple of css questions:
1. I have the following code for my navigation, but the background image (a small fixed arrow) isn't showing on hover in Netscape or Firefox, but is fine in IE. Here's the code:
2. The other problem I'm having is a different navigation area (a dropdown menu). On hover it's supposed to display a 5px contrasting border on the right side, but in IE it displays it by extending the width of the dropdown, and in Mozilla it displays the border "outside" of the dropdown menu. Here's the code I'm using:
Thanks for any suggestions.
I have a couple of css questions:
1. I have the following code for my navigation, but the background image (a small fixed arrow) isn't showing on hover in Netscape or Firefox, but is fine in IE. Here's the code:
Code:
td.nav a:hover {background-color: #224270; color: #E8E8DA; background-image: url('images/backgrounds/arrow.gif'); background-position: 0 50%; background-attachment: fixed; background-repeat: no-repeat}
2. The other problem I'm having is a different navigation area (a dropdown menu). On hover it's supposed to display a 5px contrasting border on the right side, but in IE it displays it by extending the width of the dropdown, and in Mozilla it displays the border "outside" of the dropdown menu. Here's the code I'm using:
Code:
#dropmenudiv a{
width: 100%;
display: block;
text-indent: 6px;
border-bottom: 1px solid #E4CFA2;
color: #E4CFA2;
padding: 1px 0;
}
#dropmenudiv a:hover{
background-color: #600000;
border-right: 5px solid #E4CFA2;
}
Thanks for any suggestions.