How can I remove the border bottom of last div "footer_column"? Here is my HTML -
<div id="footer_wrapper"> <!-- footer_wrapper starts here -->
<div id="footer"> <!-- footer starts here -->
<div class="footer_column">
<h4>Digital Strategy</h4>
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
</ul>
</div>
<div class="footer_column">
<h4>Search</h4>
<ul>
<li><a href="#">SEO</a></li>
<li><a href="#">Google AdWords</a></li>
<li><a href="#">Bing Ads</a></li>
<li><a href="#">Remarketing</a></li>
</ul>
</div>
<div class="footer_column">
<h4>Social</h4>
<ul>
<li><a href="#">Facebook Ads</a></li>
<li><a href="#">Youtube Ads</a></li>
</ul>
</div>
<div class="footer_column">
<h4>Conversion</h4>
<ul>
<li><a href="#">Landing Page Creation</a></li>
<li><a href="#">A/B Testing</a></li>
</ul>
</div>
<div class="footer_column">
<h4>Contact Us</h4>
<ul>
<li><a href="#">About Us</a></li>
<li><a href="#">Blog</a></li>
</ul>
</div>
<div class="clr"></div>
<div id="copyright">
<p>© 2014.</p>
</div>
</div> <!-- footer ends here -->
</div> <!-- footer_wrapper ends here -->
This is CSS -
/* footer */
.footer_column
{
float:none;
width:100%;
margin-bottom:5%;
padding-bottom:10px;
border-bottom:1px solid #8f8f8f;
}
.footer_column:last-child
{
border-bottom:none;
}
But it's not working. The last div "footer_column" still have border bottom. I know I can remove it by using first-child and border-top but I don't want to do that. I only want to do it with border-bottom and last-child. Please help me on this.