Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/apache/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
silverlight应用程序中的html覆盖_Html_Css_Silverlight_Overlay_Z Index - Fatal编程技术网

silverlight应用程序中的html覆盖

silverlight应用程序中的html覆盖,html,css,silverlight,overlay,z-index,Html,Css,Silverlight,Overlay,Z Index,我已经阅读了很多关于这方面的文章,下面是我的代码。 有人能告诉我为什么没有覆盖在SL应用程序的顶部吗?我知道我发布的表中没有任何可见内容,但在我的代码中有 <style type="text/css"> #TABLESTYLE { position:absolute; top:0px; left:0px; } </style> <style type="text/css"> #SLSTY

我已经阅读了很多关于这方面的文章,下面是我的代码。 有人能告诉我为什么
没有覆盖在SL应用程序的顶部吗?我知道我发布的表中没有任何可见内容,但在我的代码中有

<style type="text/css">
    #TABLESTYLE
    {
    position:absolute;
    top:0px;
    left:0px;
    }
    </style>

    <style type="text/css">
    #SLSTYLE
    {
    position:absolute;
    top:100px;
    left:0px;
    }
    </style>

     </head>
     <body>

     <table id="TABLESTYLE" width="100%" border=0 bordercolor="#5b5b5b" cellspacing=0                                           cellpadding=0 z-index=1>
     <col width="10%">
     <col width="80%">
     <col width="10%">
     <tr>
    <div style="font-family:Arial; height:128px; width:100%; background:#5b5b5b;">
     </table>

      <form id="SLSTYLE" runat="server" style="height:100%" z-index=-1>
      <div>
      <object data="data:application/x-silverlight-2,"  type="application/x-silverlight-   2" width="100%" height="100%">
    <param name="source" value="xxx.WebUI.xap"/>
    <param name="onError" value="onSilverlightError" />
    <param name="background" value="white" />
    <param name="minRuntimeVersion" value="4.0.50826.0" />
    <param name="autoUpgrade" value="true" />
        <param name="windowlessmode" value="true" />        
     </form> 


     </body>

#表样式
{
位置:绝对位置;
顶部:0px;
左:0px;
}
#SLSTYLE
{
位置:绝对位置;
顶部:100px;
左:0px;
}

它应该可以工作,但好的参数名称是“无窗”,而不是无窗模式


请参见

。此外,在我所有的电脑工作时间里,我可以诚实地说,我从未停止过对自己的愚蠢感到惊讶。当然,它是如此简单,我甚至没有想到要检查它是否正确。非常感谢。