cometta
cometta

Reputation: 35689

ie6 ul.li hover

i know that ie6 can only do hover on a href element. but i do not need a href element.

i have ul.li element like below

ul.testclass li {
    display: inline-block;


}



ul.testclass li:hover {
    background-color: #ffffff;


}

it work on all browsers except ie6. any workaround to make it work in ie6?

Upvotes: 0

Views: 643

Answers (3)

Olly Hodgson
Olly Hodgson

Reputation: 15775

There's a variety of ways you can do it. The simplest is probably to use Dean Edwards' wonderful IE7.js.

Upvotes: 1

Yi Jiang
Yi Jiang

Reputation: 50115

Or you could use something like ie7.js

Upvotes: 1

BalusC
BalusC

Reputation: 1108732

A common workaround is using a htc file.

Upvotes: 1

Related Questions