View Full Version : hover display
11-22-2011, 08:21 PM
Should this work ? All OK until I add red line, then even changing color does not work anymore, and of course it does not become hidden.
11-22-2011, 09:37 PM
When I tested it, it worked, but not as you'd expect. when you turn off the display property (display:none), it can no longer be seen. Therefore you would not be "hovering" over it anymore, so that css call would no longer apply and the original would. However, once it comes back, you are now hovering over it, so the hover pseudo class goes into effect.
Why are you wanting to hide an item on hover? because it will come right back when you "display: none" it, because then you're not hovering over it anymore.
11-22-2011, 10:21 PM
Aha, hence flickernig moving mouse over it.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.