View Full Version : Simple :hover solution on Divs
As5a5sIn5
09-03-2006, 01:21 AM
Okay so I was making a nice little table that had css for the menu div's for :hover to change the background color. This seems to not work in IE. Is there any workaround to this to make it cross-browser or am I going to have to turn to javascript?:)
Arbitrator
09-03-2006, 01:32 AM
If you want to keep the hover effect on the div elements you'll need to use JavaScript to accommodate IE6. If your div contain anchor elements (links), then you can set their display property to block and make their dimensions match the div to simulate the effect since :hover still works on anchor elements in that browser.
As5a5sIn5
09-03-2006, 01:47 AM
Thanks.:D
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.