I'm trying to color a footer but it won't appear. I've noticed that if I remove either the "bottom-left" or "bottom-right" class, the list will be colored but it gets out of position. I need to keep it at the bottom and color the whole bottom row. Also, since there are other lists in the webpage, I can't alter the properties of all "li's" like every google search suggested.
HTML:
<footer id="footer">
<ul>
<div>
<span class="bottom-left">
<li><a href="pages/advertising.html" class="bottom-font">Advertising</a></li>
<li><a href= "pages/business.html" class="bottom-font">Business</a></li>
<li><a href="pages/how-search-works.html" class="bottom-font"
>How Search works</a></li>
</span>
<span class="bottom-right">
<li><a href="pages/privacy.html" class="bottom-font">Privacy</a></li>
<li><a href="pages/terms.html" class="bottom-font">Terms</a></li>
<li><a href="pages/settings.html" class="bottom-font">Settings</a></li>
</span>
</div>
</ul>
</footer>
CSS:
.bottom-font {
font-size: 14px;
color: #5f6368;
line-height: 20px;
word-spacing: 1px;
}
.bottom-right {
position: absolute;
bottom: 0px;
right: 0px;
margin-right: 27px;
}
.bottom-left {
position: absolute;
bottom: 0px;
left: 0px;
margin-left: 27px;
}
#footer{
background: black;
}