CSS——border

表格细线:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style type="text/css">
        table {
            width: 100px;
            height: 100px;
            border: 1px solid red;
            border-collapse: collapse;
        }

        td {
            border: 1px solid red;
        }
    </style>
</head>
<body>
    <table cellspacing="0">
        <tr>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td></td>
            <td></td>
            <td></td>
        </tr>
    </table>
</body>
</html>

效果:

 

posted @ 2017-11-02 18:02  var_obj  阅读(259)  评论(0编辑  收藏  举报