首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

快来人啊用了table标记不能显示,帮忙看一下啊该怎么解决

2012-01-26 
快来人啊!!!!,用了table标记不能显示,帮忙看一下啊bodyscroll no formid form1 runat server

快来人啊!!!!,用了table标记不能显示,帮忙看一下啊
<body   scroll= "no ">
        <form   id= "form1 "     runat   = "server "   >
                <asp:Button   ID= "btnShow "   runat= "server "
                        Height= "24px "     OnClick= "btnShow_Click "   Text= "显示报表 "
                        Width= "76px "   />
              <!--   <table   style= "width:   100%;   height:100% "   border   = "0 ">
                        <tr>
                                <td   style= "width:   100%; "   >   !-->
                                        <object   id= "Object1 "   style= "left:   0px;   top:   0px;  
                                          width:   100%;   height:   100% "  
                                          classid= "CLSID:15261F9B-22CC-4692-9089-0C40ACBDFDD8 "
                                                name= "ChinaExcel "   align= "top ">
                                                <param   name= "_Version "   value= "131072 ">
                                                <param   name= "_ExtentX "   value= "13970 ">
                                                <param   name= "_ExtentY "   value= "9155 ">
                                                <param   name= "_StockProps "   value= "0 ">
                                        </object>
                    <!--             </td>
                        </tr>
                </table>   --!>
        </form>
</body>
如果我不把表格标记注释的话,那个控件就不能显示,为什么啊????


[解决办法]
<table style= "width: 100%; height:100% " border = "0 ">
~~~~~~~~~~~~~~~~~
给个固定值试试
<table style= "width: 500px; height:300px " border = "0 ">
[解决办法]
.net 当然支持activex

把height=100%在ie不起作用

height=400看看

热点排行