adambedford Posted February 10, 2010 Share Posted February 10, 2010 So I've got some CSS that uses the :hover function to display an additional div, however this is applied to the results of a query and the results are a result of a repeat region (obviously). The problem is that when I hover over the results, <li> in this case, the div overlay shows for all records, not just the one that is hovered over. I kind of get why this is happening (CSS happens once the repeat region has happened and so the :hover is applied to all of the <li>s) however I can't think of a way to overcome it. I'm sure there's a way somehow, even if it involves using javascript, but what is it? I'm not 100% sure this is a PHP problem so please move this is I'm way off the mark. Any ideas? Quote Link to comment Share on other sites More sharing options...
PHP Monkeh Posted February 10, 2010 Share Posted February 10, 2010 Provide some code so we can try and understand what it is you're referring to. Quote Link to comment Share on other sites More sharing options...
adambedford Posted February 10, 2010 Author Share Posted February 10, 2010 I was in the process of posting my code and explaining a little more when I realised what was wrong! Thank you because without going through the motions of posting my code on here I wouldn't have figured it out! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.