css ul li 中的控件垂直居中_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:20:06
Original
995 people have browsed it

 #divControl ul li        {            float: left;            position: relative;            left: 10px;            vertical-align:bottom ;            text-align:center;        }
Copy after login


<div id="divControl" class="demo-section k-content ">        <ul>            <li>                <label class="k-radio-label" for="engine1">                    日</label><input type="radio" id="radDateDay" name="radDate" value="day" class="k-radio"                        style="width: 20px" /></li>            <li>                <label class="k-radio-label" for="engine2">                    月</label>                <input type="radio" id="radDateMonth" name="radDate" checked="checked" value="month"                    class="k-radio" style="width: 20px" /></li>            <li>                <label class="k-radio-label" for="engine3">                    年</label>                <input type="radio" id="radDateYear" name="radDate" value="year" class="k-radio"                    style="width: 20px" /></li>            <li>                <input id="datepicker" /></li>        </ul>    </div>
Copy after login




我现在实现底部对齐,但是现在没有作用,请大侠帮忙看看


回复讨论(解决方案)

#divControl ul li        {            float: left;            position: relative;            left: 10px;            text-align:center;          line-height:26px;        }
Copy after login

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template