回发后HTML表格结构受到干扰(仅在IE中) [英] Html Table structure is disturbed after a post back (Only in IE)

查看:50
本文介绍了回发后HTML表格结构受到干扰(仅在IE中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在网格模板字段中使用html表.页面第一次加载时就可以了.但是,当它回发时,其结构就会受到干扰.我检查发现,在某些tr中有一些空白.结果是压缩表的某些元素.它不是在所有模板字段中,而是在所有模板字段中都发生过.我在FF和chrome中测试都可以.此问题在IE中,而我正在使用IE9.你有什么想法吗??



Atiq.

Hi,

I am using html table in grid template field. When page first time loads it is ok. But when it post back then its structure disturbed. I inspect and find that in some tr there are some white spaces. That results to compress some elements of table. It is not in all template fields, just any of template field this happend. I test in FF and chrome it is ok in both. This problem is in IE and I am using IE9. Have you any idea????



Atiq.

推荐答案

IE的兼容性视图"中带有地址栏的按钮. 按下该按钮,然后测试...
看看它是否正常工作?
如果一切正常,那么以下链接将为您提供帮助:

http://blog.timwarr .net/2008/09/29/forcing-compatibility-mode-in-ie8-when-users-view-you-page/ [
There is button in IE "Compatibility View" with Address Bar..
Press that button and then test...
see whether it is working fine or not ??
If its working fine, then following link will help you:

http://blog.timwarr.net/2008/09/29/forcing-compatibility-mode-in-ie8-when-users-view-you-page/[^]


这篇关于回发后HTML表格结构受到干扰(仅在IE中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆