CSS编写静态网易注册界面

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册网易免费邮箱</title>
    <style>
        body{
            font-size:12px;
            font-family:"宋体";
            color: #333;
        }
        /*清除内边距和外边距*/
        body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{
            margin:0;padding:0
        }
        /*清空默认样式*/
        a{
            text-decoration: none;
            color: #ccc;
        }
        /*清除ul li的列表标示*/
        ul li{
            list-style: none;
        }
        /*定义头部内容*/
        .header{
            width: 960px;
            height: 80px;
            margin: 0 auto;
            padding-top: 28px;
        }
        .header .logo{
            width: 644px;
            height: 27px;
            background: url("images/glb_v2.png") 0 0 no-repeat;
            float: left;
        }
        .header .logo a{
            display: inline-block;
            width: 130px;
        }
        .header .links{
            float: right;
        }
        .header .links a{
            color: blue;
        }
        .content{
            width: 960px;
            height: 600px;
            margin: 0 auto;
        }
        .content .title{
            width: 960px;
            line-height: 36px;
            color: white;
            background: url("images/bgx.png") 0 0 repeat;
        }
        .content .title h1{
            font-size: 12px;
            text-indent: 2em;
        }
        .content .main{
            width: 960px;
            height: 564px;
        }
        .content .main .mainLeft{
            width: 624px;
            height: 564px;
            float: left;
            border: 1px solid #ccc;
            box-sizing: border-box;
            border-top:none;
            background-color: #f9f9f9;
            padding-top: 50px;
            padding-left: 80px;
        }
        .content .main .mainLeft .tips{
            width: 560px;
            height: 60px;
        }
        .
  • 4
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值