i want to make a box that change color when you hover over it.
div.box:hover{} doesnt work.If you are trying this in M$ Internet Explorer browser, it only supports the hover pseudo-class for "a" elements.To elaborate on what teh Nog's saying, there are browsers besides IE (not sure if you knew this). Many of them render pages properly, unlike IE, which doesn't conform to standards. It's easier and more practical to build your site using a good browser (<!-- m --><a class="postlink" href="http://www.mozilla.org/products/firefox/">http://www.mozilla.org/products/firefox/</a><!-- m -->), and then fix it for IE.
div.box:hover{} doesnt work.If you are trying this in M$ Internet Explorer browser, it only supports the hover pseudo-class for "a" elements.To elaborate on what teh Nog's saying, there are browsers besides IE (not sure if you knew this). Many of them render pages properly, unlike IE, which doesn't conform to standards. It's easier and more practical to build your site using a good browser (<!-- m --><a class="postlink" href="http://www.mozilla.org/products/firefox/">http://www.mozilla.org/products/firefox/</a><!-- m -->), and then fix it for IE.