Why am I experiencing strange right margin space even though I haven't set any margin-right properties?
I have already used a CSS reset with *{margin:0;padding:0;}
, so there should be no reason for the margin-right spacing between all ul
sections.
The HTML structure is as follows:
<div class="footer-links">
<ul>
<li><h3>Title A</h3></li>
<li><a href="#">Link</a></li>
...
</ul>
</div>
The CSS styling applied to the elements:
.footer-links {
border: 1px solid #ddd;
...
}
.footer-links a {
color: #565656;
}
...
.footer-links li {
padding-bottom: 3px;
}
You can view and interact with the code in this jsFiddle link: