标题:怎么实现 文字不透明啊
只看楼主
shuimei262
Rank: 1
等 级:新手上路
帖 子:10
专家分:0
注 册:2007-1-16
 问题点数:0 回复次数:1 
怎么实现 文字不透明啊
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.
<html xmlns="http://www.
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
#tt {
    background-color: #FFCC66;
    height: 100px;
    width: 300px;
    z-index: 3;
    position: absolute;
    left: 227px;
    top: 65px;
}
#yy {
    background-color: #009999;
    height: 100px;
    width: 200px;
    display: block;
    z-index: 1;
    position: absolute;
}
#Layer1 {
    position:absolute;
    left:165px;
    top:102px;
    width:72px;
    height:60px;
    z-index:6;
    background-color: #FFCCCC;
    filter:alpha(opacity=50);
}
#u {
    color: #000000;
    position: relative;
}
-->
</style>
</head>
<body>
<div id="Layer1">
      <div id="u">sdfsdfs</div>
</div>
<div id="tt">sadf</div>
<div id="yy">sadfff</div>
</body>
</html>
搜索更多相关主题的帖子: 圣诞节 时机 
2008-10-18 13:35
chaiyesong
Rank: 2
等 级:论坛游民
威 望:3
帖 子:70
专家分:44
注 册:2014-5-14
得分:0 
回复 楼主 shuimei262
请看CSS手册
2014-09-06 21:26



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-239022-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.062074 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved