练习
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>壮哉山科大</title>
<style>
*{
margin:0px;
}
.sk{
margin:0px auto;
width:800px;
height:1000px;
border:1px solid black;
}
.s1{
width:800px;
height:100px;
border:1px solid black;
background-color:#006;
position:absolute;
}
.s11{
width:400px;
height:30px;
color:#FFF;
right:10px;
top:0px;
font-size:13px;
text-align:right;
position:absolute}
.s12{
width:410px;
height:20px;
background-color:#FFF;
border-radius:2%;
color:#000;
right:10px;
bottom:40px;
font-size:13px;
text-align:center;
vertical-align:middle;
line-height:20px;
position:absolute}
.s13{
width:410px;
height:20px;
background-color:#003;
border-radius:3%;
color:#FFF;
right:10px;
bottom:15px;
font-size:13px;
line-height:20px;
text-align:center;
vertical-align:middle;
position:absolute}
a:hover{
color:#CF0;
}
a{
text-decoration:none;
color:#FFF;
}
.s21{
width:540px;
height:700px;
border:1px solid black;
background-color:#03F;
}
.s22{
width:540px;
height:300px;
border:#000 solid 1px;
}
.s221{
width:500px;
height:150px;
border:1px solid black;
margin:0px auto;
margin-top:120px;
background-image:url(../%E9%97%BA%E5%A5%B3%E5%92%8C%E5%84%BF%E5%AD%90/IMG_2163.JPG);
background-position:50%;
background-repeat:no-repeat;
}
.s23{
width:270px;
height:400px;
border:1px solid black;
}
</style>
</head>
<body>
<div class="sk">
<div class="s1">
<div class="s11">
<a href="#">学校主页</a>|
<a href="#">English Version</font></a>|
<a href="#">校长信箱</font></a>|
<a href="#">泰安校区</font></a>|
<a href="#">济南校区</font></a>
</div>
<div class="s12">学校概况 组织机构 院系设置 学科设置 科学研究 师资队伍 人才培养</div>
<div class="s13">人才招聘 招生就业 校友之家 学团在线 技术转移 信息服务 学术期刊</div>
</div>
<div class="s21"><div class="s22"><div class="s221"></div></div><div class="s23"></div>
</div>
</body></html>