开发者

Internet Explorer drop down menu problem!

开发者 https://www.devze.com 2023-01-25 09:50 出处:网络
I created a drop-down menu for web-site. But apparently,this drop-down menu just works in Firefox not in IE.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消