标签:table position 案例 textarea sheet dao idt repeat attach
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>今天写一个网页的导航栏</title>
<link rel="stylesheet" type="text/css" href="1.css">
</head>
<body>
<div id="z1">
<img src="6.png" alt="daohanglan" title="danhanglantupian">
<table>
<tr>
<td><a href="http://www.sougou.com">首页</a></td>
<td><a href="http://www.sougou.com">最新消息</a></td>
<td><a href="http://www.sougou.com">展品展示</a></td>
<td><a href="http://www.sougou.com">销售网络</a></td>
<td><a href="http://www.sougou.com">人才招聘</a></td>
<td><a href="http://www.sougou.com">客户服务</a></td>
</tr>
</table>
<div id="z2">
<ul type="circle">
<h3>最新消息</h3>
<li>公司举办2016年金秋杯篮球赛</li>
<li>消防演练大比武</li>
<li>优秀员工评比</li>
<li>公司发布招聘信息</li>
</ul>
<div id="z3"></div>.
<ul type="circle">
<h3>客户案例</h3>
<li>上海电力公司</li>
<li>浙江电力公司</li>
<li>辽宁电力公司</li>
<li>陕西电力公司</li>
</ul>
</div>
</div>
</body>
</html>
#z1{
border:2px solid #FFFF00;
width:1330px;
height:656px;
background-repeat:repeat-x;
}
div table{
border:1px solid #FF00FF;
width:1330px;
height:36px;
background-color:#FFE4E1;
}
#z2{
width:1325px;
height:365px;
border:3px solid #ccc;
border-radius:30px 20px 30px 20px;
}
#z3{
width:1325px;
height:50px;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
#d1{
width: 300px;
height: 100px;
border: 10px dotted #222;
margin: 10px;
padding: 10px;
background-color: #aaa;
}
body{
background-image: url(repeatbg.jpg);
background-repeat: repeat;
background-attachment: fixed;
}
#c{
width: 400px;
height: 180px;
background-image: url(comment.gif);
background-repeat: no-repeat;
background-position: 80px 70px;
}
.s{
width: 76px;
height: 15px;
border-bottom: 1px solid #aaa;
background-image: url(icons.png);
background-position: -109px -239px
}
</style>
</head>
<body>
<div id="d1">gaga</div>
<br/><br/><br/><br/><br/><br/>
<img src="1.png"/>
<br/>
<textarea id="c">
</textarea>
<br/>
<div class="s">
</div>
</body>
</html>
标签:table position 案例 textarea sheet dao idt repeat attach
原文地址:http://www.cnblogs.com/miffees/p/6021221.html