注册页面

<!doctype html>

<html>

<head>

<meta charset="gb2312">

<title>注册页面</title>

<link rel="stylesheet" href="style.css" type="text/css">

</head>

<body>

<div class="All">

<div class="top"></div>

<div class="top2"></div>

<div class="content">

<form>

<table cellspacing="0" cellspadding="0">

<tr>

<td colspan="3" height="10px"></td>

</tr>

<tr>

<td width="200px">姓&nbsp;&nbsp;&nbsp;&nbsp;名:</td>

<td ><input type="text"/></td>

<td width="200px">格式:中文</td>

</tr>

<tr>

<td width="200px">联系方式:</td>

<td ><input type="text"/></td>

<td width="200px">格式:11位手机号码</td>

</tr>

<tr>

<td width="200px">所在公司:</td>

<td ><input type="text"/></td>

</tr>

<tr>

<td width="200px">职&nbsp;&nbsp;&nbsp;&nbsp;务:</td>

<td ><input type="text"/></td>

</tr>

<tr>

<td colspan="3" ><input type="button" value="提交" class="bt"/></td>

<td></td>

<td></td>

</table>

</form>

</div>

</div>

</body>

</html>

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950

style.css

@charset "gb2312";

/* CSS Document */

body{//body样式--整个网页的样式

    font-family:"楷体";

    color:#000;

    background:#666;

    font-size:14px;

    }

.All{

    width:600px;

    height:auto;//设置边框的高度随文本的变化而变化

    margin:0 auto;

    padding-top:200px;

    }

.top{

    background:url(top.jpg);

    width:600px;

    height:100px;

    margin-bottom:2px;//图片底部留2px

    }

.top2{

    background:url(top2.jpg);

    width:600px;

    height:10px;

    margin-bottom:2px;//图片底部留2px

    }

.content{

    border:1px solid #FF0;//边框样式

    background:#FFF;//背景颜色

    text-align:center;//文本居中

    }

.bt{

    background:url(02.jpg);//“提交”按钮 图片

    width:58px;

    height:27px;

    border:none;//去掉边框样式

    }

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容