IE 7& amp;对象标签样式火狐

时间:2011-05-27 12:07:12

标签: html object

我的对象标记内容未在IE 7中显示,但在Firefox中显示。我应该做些什么改变。

这是我的HTML

<style type="text/css">
object {
    position: absolute;
    top: 50px;
    left: 50px;
    width: 785px;
    height: 582px;
    border: 0px;
}
</style>

<script  type="text/javascript">
function load(link,object){
                    var o = document.getElementById(object);

    o.data = link;

                }
</script>



<object type="text/html" id="object_1" style="width:100%; height:400px; margin:1%;"></object>

0 个答案:

没有答案