电脑技术学习

火狐/IE浏览器flash透明,css强制不换行,溢出隐藏

dn001

火狐/IE浏览器flash透明

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="93">
<param name="movie" value="image/banner-ty2.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="image/banner-ty2.swf" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="93"></embed>
</object>

css强制不换行,溢出隐藏

white-space:nowrap;

overflow:hidden

语法:text-overflow : clip | ellipsis取值:
clip; :; 默认值。不显示省略标记(...),而是简单的裁切
ellipsis; :; 当对象内文本溢出时显示省略标记(...)