:hover CSS is not working?

2019-07-12 13:46发布

I have created a CSS class as follows:

div.ycontent div.ppclisting { background-color:#cccccc; }
div.ycontent div.ppclisting:hover { background-color:#FFE5DF; }

I have applied the above style in one of my page, which is working quite fine in Firefox, IE 7.0+ and in other latest browsers. But When I am applying the same style in another page then its not working.

Can anyone tell me what could be the reason? why its not working in another page.

7条回答
Juvenile、少年°
2楼-- · 2019-07-12 14:37

Maybe the nested div in the other page doesn't have the class ycontent and/or the element itself isn't class ppclising?

查看更多
登录 后发表回答