Divcss模板 弹出窗口

html-css026

Divcss模板 弹出窗口,第1张

这个广告如果是flash的话,并且不把flash设置成可透明,你div的css设置的z-index再大也没用

意思就是说,要是想弹出的层显示在flash上需要设置flash的广告代码

在<object>标签中加入<param name="wmode" value="transparent">

在<object>标签下的embed标签中加入属性 wmode="transparent" 即<embed wmode="transparent" .................>

如果广告是div+css代码 浮动的话

那就设置一下position:absolute,然后设置下z-index大小就可以解决问题了

.nav ul li ul li a{display:blockwidth:100pxheight:30pxline-height:30pxbackground:#F30color:#ffftext-align:left}/*子菜单样式width是宽度 height是高度 line-height跟高度值一致 background是背景色 color 是字体色 text-align是字体居中*/

纯DIV+CSS三级横向菜单(无JS)amplt!DOCTYPEnbsphtmlnbspPUBLICnbsp“-//W3C//DTDnbspXHTMLnbsp1.0nbspTransitional//EN“nbsp“http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd“ampgtamplthtmlnbspxmlns=“http://www.w3.org/1999/xhtml“ampgtampltheadampgtampltmetanbsphttp-equiv=“Content-Type“nbspcontent=“text/htmlnbspcharset=utf-8“nbsp/ampgtamplttitleampgtdropline-水平三级横向弹出菜单amplt/titleampgtampltstylenbsptype=“text/css“ampgt/*nbspcommonnbspstylingnbsp*/.menunbsp{font-family:nbsparial,nbspsans-serifnbspwidth:749pxnbspheight:30pxnbspposition:relativenbspmargin:0nbspfont-size:11pxnbspmargin:50pxnbsp0nbspbackground:#fffnbspposition:relative}.menunbspulnbsp{padding:0nbspmargin:0nbsplist-style-type:nbspnone}.menunbspulnbsplinbsp{float:leftnbspborder-left:1pxnbspsolidnbsp#eeenbspwidth:106px}.menunbspulnbsplinbspa,nbsp.menunbspulnbsplinbspa:visitednbsp{display:blocknbspfloat:leftnbspwidth:101pxnbsptext-decoration:nonenbsppadding:0nbsp0nbsp0nbsp5pxnbspheight:30pxnbspline-height:30pxnbspcolor:#000nbspbackground:#c9c9a7nbspurl(../../graphics/drop.gif)nbspbottomnbsprightnbspno-repeat}.menunbspulnbsplinbspulnbsp{display:nbspnone}/*nbspspecificnbsptonbspnonnbspIEnbspbrowsersnbsp*/.menunbspulnbspli:hovernbspanbsp{color:#fffnbspbackground:#b3ab79}.menunbspulnbspli:hovernbspulnbsp{display:blocknbspposition:absolutenbspwidth:749pxnbsptop:30pxnbspleft:0nbspbackground:#b3ab79nbspcolor:#fff}.menunbspulnbspli:hovernbspul.right_sidenbsplinbsp{float:rightnbspborder:0nbspborder-left:1pxnbspsolidnbsp#eee}.menunbspulnbspli:hovernbspul.left_sidenbsplinbsp{float:leftnbspborder:0nbspborder-left:1pxnbspsolidnbsp#eee}.menunbspulnbspli:hovernbspulnbsplinbspa.hidenbsp{background:#bd8d5enbspurl(../../graphics/drop2.gif)nbspbottomnbsprightnbspno-repeatnbspcolor:#fff}.menunbspulnbspli:hovernbspulnbspli:hovernbspa.hidenbsp{background:#b3ab79nbspcolor:#fff}.menunbspulnbspli:hovernbspulnbsplinbspulnbsp{display:nbspnone}.menunbspulnbspli:hovernbspulnbsplinbspanbsp{display:blocknbspbackground:##b3ab79nbspcolor:#fff}.menunbspulnbspli:hovernbspulnbsplinbspa:hovernbsp{background:#dfc184nbspcolor:#000}.menunbspulnbspli:hovernbspulnbspli:hovernbspulnbsp{display:blocknbspposition:absolutenbspleft:0nbsptop:30pxnbspcolor:#000nbspbackgrou