Below is the code snippet I have for a footer:
<ul>
<ul class="footer">
<li><a href="/contact">Contact</a></li>
<li><a href="/about">About</a></li>
<li><a href="/help">Help</a></li>
<ul class="right">
<li><a href="/newsletter">Newsletter</a></li>
<li><a href="/signin">Sign In</a></li>
<li><a href="/terms">Terms</a></li>
</ul>
</ul>
</ul>
CSS:
ul {
list-style-type: none;
padding: 0;
overflow: hidden;
bottom: 0;
}
li {
position: fixed;
bottom: 0;
left: 0;
}
.right li{
position: fixed;
bottom: 0;
right: 0;
}
li a {
font-family: Helvetica;
display: block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
The issue with this setup is that all the elements are grouped in the corners even though they are supposed to be split. Any solutions for this? (SCREENSHOT)