Is there a way to remove the bottom border of the last "footer_column" div? See below for the 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 -->
Here is the 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;
}
The above code doesn't seem to be working as expected. Even after specifying ".footer_column:last-child", the last div still displays a bottom border. While I could use ":first-child" and "border-top" to achieve the desired result, I am specifically looking for a solution using "border-bottom" and "last-child". Any help would be greatly appreciated.