Take a look at this:
JSFiddle
The code looks fine in firefox, chrome, and opera, but in ie9, the numbers are shifting. Please see the image for reference.
Everything is correct on the left, but on the right is ie9.
I'm stuck and need help to solve this issue :(
HTML
<ul id="category">
<li>
<p>
35
</p>
Games
</li>
<li>
<p>
352
</p>
Dolls
</li>
</ul>
CSS
ul {
list-style: none;
margin: 0;
padding: 0;
}
#category {
float:left;
background:#e8e8e8;
}
#category li {
line-height: 20px;
padding: 10px 30px;
cursor:pointer;
}
#category p {
margin:0 0 0 20px;
padding:0;
float:right;
font-size:18px;
}
I've made the code more simple.
Stenzg