TruthInSatire
Programmer
I have the following classes and links. I'm using this in two pages. One page works like I would expect the other does not.
What I want it to do is apply the hover effect if the mouse hovers over any part of that row (display: block
on one page it does that. on the other page it only applies the effect if you hover over the text
Links that do not act as I wish
Links that do
what am i missing? why does one work and the other does not?
both tested in IE 6.
Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.
-Douglas Adams (1952-2001)
What I want it to do is apply the hover effect if the mouse hovers over any part of that row (display: block
on one page it does that. on the other page it only applies the effect if you hover over the text
Code:
a.menu:Link, a.menu:visited, a.menu:active {
font-family: verdana;
font-size: 10pt;
color:#000;
text-decoration: none;
background-color:#D9CCB3;
display: block;
border: 1px solid #D9CCB3;
}
a.menu:hover {
font-family: verdana;
font-size: 10pt;
color: #0059a5;
border: 1px solid #ccc;
border-right: 1px solid #D9CCB3;
border-left: 1px solid #D9CCB3;
border-top: 1px solid #9CA5C9;
border-bottom: 1px solid #9CA5C9;
text-decoration: none;
background-color:#DFD9D0;
display: block;
}
Links that do not act as I wish
Code:
<td bgcolor="#BCD5DE">
<a href="asdf.html" class="menu">Link</a>
<a href="asdf" class="menu">Link</a>
<a href="adsf" class="menu">Link1234568789</a>
<a href="adsf" class="menu">Link</a>
</td>
Links that do
Code:
<td valign="top" nowrap>
<br>
<span class="menuHead">Navigation </span>
<a href="../../default.cfm?count=no" target="_blank" class="menu"> Home page </a>
<a href="default.cfm" class="menu"> Admin </a>
<a href="superStats.cfm" target="_blank" class="menu"> Listener stats </a><br>
</td>
what am i missing? why does one work and the other does not?
both tested in IE 6.
Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so.
-Douglas Adams (1952-2001)