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.
I got the answer why the :hover was not working on another page. Actually on second page the DOCTYPE tag was not added in the HTML page as below,
Earlier it was simple
<html>tag and due to which :hover on the div was not working. After adding doctype tag as shown above its working for me.Thanks to all of you for help.