Hi all
I am stuck on a small but irritating problem after converting my home page to a responsive design. On a wide screen or tablet three social media buttons line up side by side (though the GPlus one is a bit higher for unexplained reasons but that's another story). When screen width narrows, the buttons end up on top of each other. Each one is in a separate DIV and I have tried using CSS to give the DIV a fixed height, to clear left, etc but I cannot seem to apply any style to these social media button containers. Here is the HTML:
<!-- start of social media table -->
<div class="leftcontent">
<div id="cell-fb"><div><IFRAME ID="fblike" SRC="http://www.facebook.com/plugins/like.php?href=http://www.canalmuseum.org.uk/index.html&layout=button_count" SCROLLING="no" FRAMEBORDER="0" ALLOWTRANSPARENCY="true" STYLE="border:none; width:75px; height:80px"></IFRAME></div></div>
<div id="cell-tw"><div><a class="twitter-share-button" href="https://twitter.com/intent/tweet?text=The%20London%20Canal%20Museum%20tells%20the%20story%20of%20London's%20Canals">Tweet</a></div></div>
<div id="cell-gp"><div><g:plusone size="standard"></g:plusone></div></div>
</div>
<!-- end of social media table -->
and the relevant bits of CSS are:
#cell-fb {
clear:left;
height: 28px;
}
#cell-tw {
clear:left;
height: 28px;
}
#cell-gp {
clear:left;
height: 28px;
}
Note that the class "leftcontent" only applies to wide screens.
Unfortunately my buttons appear on top of (overlapping) one another, whereas they should be above each other. I suspect there is a simple answer somewhere, can anyone point it out please?
Thanks, Martin