I am using the Foundation template for this responsive web page (http://foundation.zurb.com/).
My problem: I have a div “four columns” (which is 1/3 of a page width of 12 columns) with a black background so the white heading text will stand out (It needs to be white on black to match the existing web site design). Inside that div are two divs side by side with a thumbnail and text in each, both with a light blue background (matching the existing web site design). But if the text is longer in one div than the other, then the light blue box gets longer in height, and the uneven box heights effect looks awkward.
So I thought I’d put the two divs into another div with the background-color set to the blue color so the uneven divs would appear to be the same height against the matching color, but the background color did not show up. Can anyone explain that?
Here is the code after adding the background-color div surrounding the two divs.
<div class="four columns" style="background-color:#000">
<p style="color:#fff; font-weight:bold; text-align:left; font-size:1.2em;padding:0;margin:0">Featured Multimedia</p>
<div style="background-color:#93c2e9">
<div style="background-color:#93c2e9;text-align:center;width:50%;padding:.5em;float:left"><img src="images/multimedia-1.jpg" width="100%" alt="Featured Multimedia: videos" title="Featured Multimedia: videos" style="max-width:140px"></div>
<div style="background-color:#93c2e9;text-align:center;width:50%;padding:.5em;float:right"><img src="images/multimedia-2.jpg" width="100%" alt="Featured Multimedia: wallpaper" title="Featured Multimedia: wallpaper" style="max-width:140px"></div>
</div>
</div>