Webfoot
07-26-2007, 07:16 PM
I have placed a small text/css script in the head of my index.htm:
<style type="text/css">
<!--
A:hover { COLOR: red; font-weight: none }
-->
</style>
which successfully changes the links on my page to red on mouseover. However, I also have an external CSS script for a vertical dropdown menu on the same page which contains a command for hover, as follows:
.glossymenu li a:hover{
background: aqua;
}
This command also works successfully to change the sub-menu links on the vertical dropdown menu to aqua color on mouseover.
The conflict is this: The A:hover for color:red is affecting the links in the dropdown menu. They not only change background color to aqua on mouseover, most the text of them (not all of them) turn red simultaneously.
So, the question becomes "How can I have my cake and eat it too?" In other words: What do I need to do so that only those links which are not part of the vertical menu turn red on mouseover? This is baffling.
Thank you one and all.
<style type="text/css">
<!--
A:hover { COLOR: red; font-weight: none }
-->
</style>
which successfully changes the links on my page to red on mouseover. However, I also have an external CSS script for a vertical dropdown menu on the same page which contains a command for hover, as follows:
.glossymenu li a:hover{
background: aqua;
}
This command also works successfully to change the sub-menu links on the vertical dropdown menu to aqua color on mouseover.
The conflict is this: The A:hover for color:red is affecting the links in the dropdown menu. They not only change background color to aqua on mouseover, most the text of them (not all of them) turn red simultaneously.
So, the question becomes "How can I have my cake and eat it too?" In other words: What do I need to do so that only those links which are not part of the vertical menu turn red on mouseover? This is baffling.
Thank you one and all.