本文介绍了ASP.NET,VB.NET,SQL Server的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我在asp.net应用程序中遇到iframe广告代码的问题.我使用了以下代码:-

Hi All,

I am facing some problem with iframe tag in asp.net application.I have used this code:-

<iframe  src='http://www.tataquality.com/Tem2012.aspx?sn=1&pid=Xb9Z9BDd6KdSAqOBelUguhik9hbNiF7c&sectionid=5SKkpZQmW9+nzqFG4uOVA/g/TntC35rW' id='MyFrame'  frameborder='0' width='1000px' scrolling='yes' height='400px'></iframe>




这段代码在所有浏览器中都可以正常工作,但是只有在Internet Explorer 7或更高版本中它才能正常工作,然后我才能针对这个问题提出建议.


提前很多感谢




This code is working fine in all browser but it''s not working in Internet Explore 7 or above only then what can i do for this problem suggest me.


Many Many thanks in advance

推荐答案

<iframe  src='http://www.tataquality.com/Tem2012.aspx?sn=1&pid=Xb9Z9BDd6KdSAqOBelUguhik9hbNiF7c§ionid=5SKkpZQmW9+nzqFG4uOVA/g/TntC35rW' id='MyFrame'  style='width:1000px; height:400px;'></iframe>



显然,您需要查看其他样式属性是否起作用,目前我无法对其进行测试.应该以任何方式使用CSS.

该讨论看起来很有用:
http://social.msdn.microsoft.com/论坛/en-US/iewebdevelopment/thread/043994d0-06a3-48b6-99ee-51f346c09277 [ ^ ]



Obviously, you''ll need to see whether the other styling attributes work, I can''t test them at the moment. This should be in a CSS any way.

This discussion looks useful:
http://social.msdn.microsoft.com/Forums/en-US/iewebdevelopment/thread/043994d0-06a3-48b6-99ee-51f346c09277[^]


这篇关于ASP.NET,VB.NET,SQL Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 07:41
查看更多