Msg#: 4382756 posted 7:51 pm on Nov 2, 2011 (gmt 0)
I made a drop down menu using jquery. I want the menu to hide when you mouse up and out of the menu bar. Currently it hides only when you mouse out of the drop down but not out of the menu bar. I've attached my code below. Any help would be greatly appreciated!
Msg#: 4382756 posted 12:40 pm on Nov 3, 2011 (gmt 0)
From what I have seen there are more browser incompatibilities with the ul/li than using div or div/span combinations. There is likely less overhead for the css with divs. Also ul/li may often used in regular text content which forces you to put exceptions and do more testing with the css. Divs aren't often used with regular content/text
Finally if you use ul you need lis and only lis to follow and li cannot be used on its own, unlike divs where you can put pretty much anything.