Internet Explorer drop down menu problem!
I created a drop-down menu for web-site. But apparently,this drop-down menu just works in Firefox not in IE.
So What's开发者_C百科 wrong? Can anyone tell me this? Or give me an idea. Thanks in advance.
IE doesn't support the :hover pseudo-class on anything other than anchor tags. You'll need to use Javascript to make this work in IE.
Edit: As corrected by Kolink, this is an untrue statement for IE7+. IE7+ will need to be rendering in standards compliant mode to support it though. That means you'll need a doctype header on your HTML. See Pseudo class :hover does not work in IE7
You have placed these <div>
s and other tags inside a <tr>
, without using a <td>
. This is invalid HTML and non-IE browsers are covering your back.
精彩评论