Why is there a space before all these <li>
's Please Help.
HTML
<div class="links">
<ul>
<li><a href="page1.html">Page 1</a></li>
<li><a href="page2.html">Page 2</a></li>
<li><a href="page3.html">Page 3</a></li>
</ul>
</div>
CSS
.links ul{
display: inline;
}
.links{
display: block;
}
.links li{
display: inline;
}
.links a{
display: inline-block;
width: 290px;
text-align: center;
padding-top: 10px;
padding-bottom: 10px;
border: 1px solid #000;
}
JS Fiddle: http://jsfiddle.net/jy4ojyyt/