读书人

快来人啊用了table标记不能显示帮忙

发布时间: 2012-01-26 19:40:46 作者: rapoo

快来人啊!!!!,用了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看看

读书人网 >asp.net

热点推荐