【form】↗单选多选同文本垂直对齐

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8" />
    <title></title>
    <style type="text/css">
        *{margin:0;padding:0}
        body{font:12px/1.5 arial}
        div{width:100%;overflow:hidden}
        input,label{display:inline;float:left}
        input{*width:13px;*height:13px;margin-top:2px}
    </style>
</head>
<body>
    <form action="" method="post">
        <div class="item">
            <input class="input-cb" type="checkbox" />
            <label>如果丘处机没有路过牛家村,中国将是最发达国家</label>
        </div>
        <div class="item">
            <input class="input-rd" type="radio" />
            <label>如果丘处机没有路过牛家村,中国将是最发达国家</label>
        </div>
    </form>
</body>
</html>
原文地址:https://www.cnblogs.com/jzm17173/p/2497456.html