简体   繁体   English

IE7 TD Hover 问题

[英]IE7 TD Hover Problems

IE is the bane of my existence.... IE是我存在的祸根......

I tried posting this before, but I didn't describe the problem correctly.我之前尝试过发布此问题,但我没有正确描述问题。 I've been experimenting since.从那以后我一直在做实验。

I am rendering a table, and inside that table I have hidden DIV elements which are supposed to pop-up and be usable (eg have buttons you can push and content to be read).我正在渲染一个表格,在该表格内我隐藏了应该弹出并可用的 DIV 元素(例如,有可以按下的按钮和要阅读的内容)。 However, in IE7 standards mode (in IE8) when the DIV Display is 'Block', it is hidden behind cells on the same TR.但是,在 IE7 标准模式下(在 IE8 中),当 DIV 显示为“块”时,它隐藏在同一 TR 上的单元格后面。 It renders completely fine in IE8+ or any standards compliant browser.它在 IE8+ 或任何符合标准的浏览器中呈现完全正常。 Does anyone know a work around?有谁知道解决方法?

Please review the code and example here: http://jsfiddle.net/Ew9GU/15/请在此处查看代码和示例: http://jsfiddle.net/Ew9GU/15/

You can try adding a doctype like您可以尝试添加一个像

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM