对齐复选框和旁边的文本

use*_*559 2 html css html5

我有一个复选框,复选框旁边的消息是ong.当消息堆叠起来时,我希望消息的第二行与第一行堆叠.现在,它与复选框对齐.有没有办法可以做到这一点?

HTML

<label for="MailingList" class="MailingList">
<input type="checkbox" id="MailingList" name="MailingList">Messsage goes here. Messsage goes here. Messsage goes here. Messsage goes here. Messsage goes here. Messsage goes here. Messsage goes here. Messsage goes here   
</label>
Run Code Online (Sandbox Code Playgroud)

CSS:

.MailingList,
{
margin-left: 10px;
margin-top: 6px;
font-family: "HelveticaNeueMedium", "HelveticaNeue-Medium", "Helvetica Neue Medium", "HelveticaNeue", "Helvetica Neue", "Helvetica";
font-size: 14px;
color: #666;
font-style: normal;
text-align: left;
line-height: 14.4pt;
letter-spacing: 0em;
}
Run Code Online (Sandbox Code Playgroud)

JSFiddle:http://jsfiddle.net/vc8u1rfr/

有没有办法解决它?任何帮助深表感谢.

编辑

更正了JsFiddle:http://jsfiddle.net/vc8u1rfr/4/

Ste*_*ler 6

如果在标签的左侧设置填充,则将所有文本(和复选框)向右推一点.现在,如果您使用负边距向后拉出相同数量的复选框,则最终会获得所需的效果

label {
    display: block;
    padding-left: 20px;
}
   
input[type="checkbox"] {
    margin-left: -20px;
}
Run Code Online (Sandbox Code Playgroud)
<label>
  <input type="checkbox" />
  Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. 
 </label>
Run Code Online (Sandbox Code Playgroud)