Silverlight-将Z索引设置为降低到aspx页中的所有div [英] Silverlight -Set Z index to lower to all div in aspx page

查看:49
本文介绍了Silverlight-将Z索引设置为降低到aspx页中的所有div的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我已经创建了一个silverlight应用程序,并且想在显示Silverlight Xamp文件的aspx页面中以html对象标记的样式设置z-index属性.

请帮帮我.
预先感谢thanx

Hi guy''s ,
i have created one silverlight app and and i want to set z-index property in style of html object tag in aspx page which display silverlight xamp file.

please help me.
thanx in advance

推荐答案

将以下代码添加到aspx页面的开头部分
Add the below code in head section of your aspx page
<style type="text/css">
object
{
position:absolute;
left:0px;
top:0px;
z-index:-1;
}
</style>



提示:
zIndex属性设置或返回已定位元素的堆栈顺序.
具有较高堆栈顺序(0)的元素始终位于具有较低堆栈顺序(-1)的另一个元素的前面.



Tip:
The zIndex property sets or returns the stack order of a positioned element.
An element with greater stack order (0) is always in front of another element with lower stack order (-1).


这篇关于Silverlight-将Z索引设置为降低到aspx页中的所有div的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆