首页 > 代码库 > js案例-捐赠管理

js案例-捐赠管理

index.html

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>js捐赠管理</title>
    <link href=http://www.mamicode.com/"css/css.css" rel="Stylesheet" type="text/css" />>


css.css

      * {
            margin: 0px;
            padding: 0px;
        }

        body {
            width: 900px;
            margin: 0px auto;
            padding-top: 20px;
        }

        h1 {
            padding: 15px;
            text-align: center;
        }

        #container {
            width: 900px;
            height: auto;
        }

        .header, .search {
            width: 900px;
            height: 30px;
            line-height: 30px;
            border: 1px solid #0094ff;
            margin-top: 3px;
            padding: 0px 5px;
        }

        .tbList {
            width: 912px;
            height: auto;
        }

            .tbList th {
                border: 1px solid #000;
                background: #0094ff;
                height: 30px;
                font-weight: bold;
                line-height: 30px;
                color: #fff;
            }

        .inputShort {
            width: 100px;
        }

        .btn {
            width: 70px;
            height: 25px;
            line-height: 25px;
            font-weight: bold;
            text-align: center;
        }

        td {
            border: 1px solid;
            height: 25px;
            text-indent: 1em;
            border-collapse: collapse;
        }