I have a variety of different elements that are structured similarly to the following..
<div id="hi">
<div class="head">
</div>
<div class="footer">
</div>
</div>
..however, some of these elements do not contain the footer element, only a head. I would like to add a bottom border to those elements that lack a footer. Is there a CSS selector that could help achieve this effect, or would I need to utilize a JavaScript solution?