好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

漂浮窗口受后面样式影响变透明的问题_html/css_WEB-ITnose

鼠标放上去后弹出的漂浮选项菜单是透明的,怎样才能让它不透明?



原代码如下:
     下拉  #sddm{	margin: 0 auto;	padding: 0;	z-index: 30;	background-color:#F4F4F4;	width: 480px;	height:23px;}#sddm li{	margin: 0;	padding: 0;	list-style: none;	float: left;	font: bold 12px arial}#sddm li a{	display: block;	margin: 0 1px 0 0;	padding: 4px 10px;	width: 60px;	background: #5970B2;	color: #FFF;	text-align: center;	text-decoration: none}#sddm li a:hover{	background: #49A3FF}#sddm div{	position: absolute;	visibility: hidden;	margin: 0;	padding: 0;	background: #EAEBD8;	border: 1px solid #5970B2}#sddm div a	{	position: relative;		display: block;		margin: 0;		padding: 5px 10px;		width: auto;		white-space: nowrap;		text-align: left;		text-decoration: none;		background: #EAEBD8;		color: #2875DE;		font: 12px arial}	#sddm div a:hover	{	background: #49A3FF;		color: #FFF}		body{ font-size:12px; color:#666666; line-height:18px;}.clear{ clear:both;}.mtop5{ margin-top:5px;}.title{ border:solid 1px #d4d4d4; height:20px; font-weight:bold; position:relative; border-left:none; border-right:none;}.title-t{ position:absolute; top:0px; left:0px; border-bottom:solid 2px #4583bd; height:20px; line-height:20px; padding-left:10px;}   function prepareData(){	var a = document.getElementById("m3");	var b = document.createElement('a')	b.innerHTML = "This is a test";	b.href="http://HdhCmsTestbaidu测试数据";	b.target="_blank";	b.onclick="test()";	a.appendChild(b);		var c = document.createElement('input');	c.type="button";	c.value="test";	//c.onclick="test()";	c.setAttribute("onclick", "test()");           	a.appendChild(c);}	function test(){	alert("1234");}      	 标题		

Visa Paypal

查看更多关于漂浮窗口受后面样式影响变透明的问题_html/css_WEB-ITnose的详细内容...

  阅读:30次