It seems that Chrome is displaying the content incorrectly when I use float: left in a block inside an li element.
<body>
<ol>
<li>
<div class="input"></div>
<div class="text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Placeat ea, obcaecati tempore omnis voluptatum cum blanditiis expeditaporro soluta praesentium.</div>
</li>
<li>
<div class="input"></div>
<div class="text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Placeat ea, obcaecati tempore omnis voluptatum cum blanditiis expeditaporro soluta praesentium.</div>
</li>
<li>
<div class="input"></div>
<div class="text">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Placeat ea, obcaecati tempore omnis voluptatum cum blanditiis expeditaporro soluta praesentium.</div>
</li>
</ol>
.input {
display: inline-block;
background: #999;
width: 15px;
height: 15px;
border-radius: 2px;
margin-right: 10px;
float: left;
}
.text {
display: block;
overflow: hidden;
}
Any suggestions on how to resolve this issue?