क्या किसी के पास किसी पृष्ठ पर इन दो बटन को संरेखित करने के लिए कोई चाल है? डिफ़ॉल्ट रूप से फेसबुक जैसे बटन का आईफ़्रेम संस्करण Google प्लस बटन या इसके विपरीत के नीचे दिखाई देता है। क्या उन्हें इनलाइन रखने के लिए कोई सीएसएस चाल है?फेसबुक की जगह और google + बटन इनलाइन की नियुक्ति?
यह मेरे वर्तमान प्रयास है
<div style="float:left;width:100px;">
<!-- Place this tag where you want the +1 button to render -->
<g:plusone></g:plusone>
<!-- Place this tag after the last plusone tag -->
<script type="text/javascript">
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
</div>
<div style="float:left;width:auto;">
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fmy_site&layout=button_count&show_faces=false&width=350&action=like&font=lucida+grande&colorscheme=light&height=40" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:350px; height:30px;" allowTransparency="true"></iframe>
</div>
शानदार विचार! एक चैंप की तरह काम करता है, धन्यवाद – Paul
जो मैं देख रहा हूं! धन्यवाद। –