需求:
html+css编写用户注册协议页
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>用户注册协议</title>
<style>
.logo{
position: fixed;
background-color: #333;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
opacity: 0.6;
}
.zck{
position: fixed;
height: 545px;
width: 947px;
top: 10px;
left: 197px;
background-color: white;
}
.sm{
background-color: lightgrey;
height: 31px;
}