开发者

Help in :hover CSS

Does :hover in css only works on <a开发者_Python百科> tags? Or it can work on any HTML tags? Thank you.


It applies to any element, but IE6 and earlier have a bug which only lets it work on links (<a> elements with an href attribute).


Quirksmode has the answer!.

The summary: IE6 only supports :hover on links. Everyone else supports them everywhere.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜