I have the following HTML:
<div id="footer">
<div class="wrapper clear">
<!-- stuff -->
</div>
<div>
What do I put in the css file to format the div that has a class of wrapper and clear, but only when within the footer?
This is for use with wordpress.com, so I can’t alter the HTML.
Use this selector:
Note that IE6 doesn’t handle multiple class selectors correctly, it treats the above as this (see here for a comparison):
But in most cases this should not matter.