if it's an IE (only) hack, should it be escaped for IE (only)?
On 6/3/05, Ingo Chao [EMAIL PROTECTED] wrote:
Lea Anna Davis schrieb:
Adding the code #menu a:hover {background:1%;} worked! How bizarre. I
have no idea why IE needs to have this code.
background:1%; tries to position a
jack fredricks schrieb:
if it's an IE (only) hack, should it be escaped for IE (only)?
Hmm, in my percentages demo I encountered the problem, and worked this
out for me: background-position:1%; because constructs like
#menu a:hover .menuItemBracket {color:#ff;}
seem not to inform IE
Adding the code #menu a:hover {background:1%;} worked! How bizarre. I
have no idea why IE needs to have this code.
Thank You!
Lea Anna
Ingo Chao wrote:
Lea Anna Davis schrieb:
Im trying to create an effect where some of the linked text
(enclosing brackets in this case) change color when
Lea Anna Davis schrieb:
Adding the code #menu a:hover {background:1%;} worked! How bizarre. I
have no idea why IE needs to have this code.
background:1%; tries to position a background-image (no matter if there
is one or not) and reminds IE to do something: redraw all possible
affected
Im trying to create an effect where some of the linked text (enclosing
brackets in this case) change color when hovered.
(In reality the brackets will be the same color as the background and
will seem to appear on hover as a result of a color change.)
The Link looks like this [Good News] and
Lea Anna Davis schrieb:
Im trying to create an effect where some of the linked text (enclosing
brackets in this case) change color when hovered. ... The following code works in Firefox but not IE -specifically IE 6.
|#menu a {
display:block;
color: #ff;
font-weight: bold;
text-decoration:
Lea Anna Davis wrote:
#menu ||a:link .menuItemBracket, ||#menu ||a:visited
.menuItemBracket {
color:#00;
}
div id=menu
a href=GoodNews.htmspan class=menuItemBracket[ /spanGood
Newsspan class=menuItemBracket ]/span/a
/div
Why not removing the class and go with:
#menu a:hover span {}