<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>浮山狼de博客 &#187; z-index</title>
	<atom:link href="https://www.fushanlang.com/tag/z-index/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.fushanlang.com</link>
	<description>next station - 下一站，活在当下，且行且思</description>
	<lastBuildDate>Sat, 29 Nov 2014 15:14:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.2.5</generator>
	<item>
		<title>css z-index之object flash修正</title>
		<link>https://www.fushanlang.com/css-z-index-of-the-object-flash-correction-1405/</link>
		<comments>https://www.fushanlang.com/css-z-index-of-the-object-flash-correction-1405/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 03:38:52 +0000</pubDate>
		<dc:creator><![CDATA[fushanlang]]></dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[z-index]]></category>

		<guid isPermaLink="false">http://www.fushanlang.com/blog/?p=1405</guid>
		<description><![CDATA[<p>今天设置div显示在flash顶部，z-index好像不起作用了，google了一下，原来需要调整一下flash参数wmode 值为&#8221;transparent&#8221;.</p> <p>&#60;object classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243; style=&#8221;z-index:-1px;&#8221; codebase=&#8221;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0&#8243; width=&#8221;150&#8243; height=&#8221;156&#8243;&#62; &#60;param name=&#8221;movie&#8221; value=&#8221;&#60;flash文件路径&#62;&#8221; /&#62; &#60;param name=&#8221;quality&#8221; value=&#8221;high&#8221; /&#62; &#60;param name=&#8221;wmode&#8221; value=&#8221;transparent&#8221; /&#62; &#60;embed src=&#8221;&#60;flash文件&#62;&#8221; quality=&#8221;high&#8221; pluginspage=&#8221;http://www.macromedia.com/go/getflashplayer&#8221; type=&#8221;application/x-shockwave-flash&#8221; wmode=&#8221;transparent&#8221; width=&#8221;150&#8243; height=&#8221;156&#8243;&#62;&#60;/embed&#62; &#60;/object&#62;</p> <p>以下是z-index的使用方法供参考。</p> <p>z-index : auto &#124; number auto: 默认值。 number: 无单位的整数值，可为负数 。</p> <p>z-index 值较大的元素将叠加在 z-index 值较小的元素之上。对于未指定此属性的定位对象，z-index 值为正数的对象会在其之上，而 z-index 值为负数的对象在其之下。</p> <p>注意：这个属性不会作用于窗口控件，如 select 对象。在IE5.5+中， iframe 对象开始支持此属性。而在之前的浏览器版本中， iframe 对象是窗口控件，会忽略此属性。</p> <span style="color:#777"> . . . &#8594; Read More: <a href="https://www.fushanlang.com/css-z-index-of-the-object-flash-correction-1405/">css z-index之object flash修正</a></span>]]></description>
				<content:encoded><![CDATA[<p>今天设置div显示在flash顶部，z-index好像不起作用了，google了一下，原来需要调整一下<strong>flash参数wmode 值为&#8221;transparent&#8221;</strong>.</p>
<p>&lt;object  classid=&#8221;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&#8243;  style=&#8221;z-index:-1px;&#8221;  codebase=&#8221;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0&#8243;  width=&#8221;150&#8243; height=&#8221;156&#8243;&gt;<br />
&lt;param name=&#8221;movie&#8221; value=&#8221;&lt;flash文件路径&gt;&#8221; /&gt;<br />
&lt;param name=&#8221;quality&#8221; value=&#8221;high&#8221; /&gt;<br />
<span style="color: #008000;"><strong>&lt;param name=&#8221;wmode&#8221; value=&#8221;transparent&#8221; /&gt;</strong></span><br />
&lt;embed src=&#8221;&lt;flash文件&gt;&#8221; quality=&#8221;high&#8221;  pluginspage=&#8221;http://www.macromedia.com/go/getflashplayer&#8221;  type=&#8221;application/x-shockwave-flash&#8221;<span style="color: #008000;"> <strong>wmode=&#8221;transparent&#8221;</strong> </span>width=&#8221;150&#8243; height=&#8221;156&#8243;&gt;&lt;/embed&gt;<br />
&lt;/object&gt;</p>
<p>以下是z-index的使用方法供参考。<span id="more-1405"></span></p>
<p>z-index : auto | number<br />
auto: 默认值。<br />
number: 无单位的整数值，可为负数 。</p>
<p>z-index 值较大的元素将叠加在 z-index 值较小的元素之上。对于未指定此属性的定位对象，z-index 值为正数的对象会在其之上，而 z-index 值为负数的对象在其之下。</p>
<p>注意：这个属性不会作用于窗口控件，如 select 对象。在IE5.5+中， iframe 对象开始支持此属性。而在之前的浏览器版本中， iframe 对象是窗口控件，会忽略此属性。</p>
<p>z-index 属性适用于定位元素（position 属性值为 relative 或 absolute 或 fixed的对象），用来确定定位元素在垂直于显示屏方向（称为Z 轴）上的层叠顺序（stack order）。</p>
<p>每 一个定位元素都归属于一个stacking context。根元素形成 root stacking context，而其他的 stacking  context 则由定位元素产生（此定位元素的 z-index 被定义一个非 auto 的 z-index 值），定位子元素会以这个 local  stacking context 为参考，用相同的规则来决定层叠顺序。并且 stacking context 和 containing  block 之间并没有必然联系。</p>
<p>当 stacking context 一样的时候，就用 z-index 的值来决定怎样显示，如果 z-index 也相同（即 stack level 相同），则按照档中后来者居上的原则（back-to-front ）的顺序来层叠。</p>
<p>当 任何一个元素层叠另一个包含在不同 stacking context 元素时，则会以 stacking context 的层叠级别（stack  level）来决定显示的先后情况。也就是说，在相同的 stacking context 下才会用 z-index 来决定先后，不同时则由  stacking context 的 z-index 来决定。例如：</p>
<p>定位元素 A（z-index:100）里面有定位元素  A1（z-index:300），而定位元素 B 和元素 A 兄弟关系（z-index:200）。你会发现无论 A1 的 z-index  是多大，也会被 z-index 是 200 的 B 所覆盖，因为 A 的 z-index 只有 100。</p>
]]></content:encoded>
			<wfw:commentRss>https://www.fushanlang.com/css-z-index-of-the-object-flash-correction-1405/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
