如何更改Google +评论小部件的宽度

时间:2013-12-17 15:42:08

标签: html css google-plus

我正在尝试调整移动设备的Google+评论小部件的宽度。这是我的HTML:

<div id="tabs">
    <ul>
        <li><a href="#tabs-1" id="tabs-3"><img src="/images/icon-facebook.png" alt="Facebook Icon" /><p class="tabTitle">Comment on <strong class="fbBlue">Facebook</strong></p></a></li>
        <li><a href="#tabs-2" id="tabs-4"><img src="/images/icon-plus.png" alt="Google+ Icon" /><p class="tabTitle">Comment on <strong class="googleRed">Google+</strong></p></a></li>
    </ul>
    <div id="tabs-1">
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=654528351241254";
    fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    <div class="fb-comments" data-href="http://www.harvekeronline.com/3dlm-lesson-your-ideal-life/" data-colorscheme="light" data-numposts="10" data-width="100%" data-order-by="reverse_time" data-mobile="200px"></div>
    </div>
    <div id="tabs-2">
    <script src="https://apis.google.com/js/plusone.js">
    </script>
    **<div class="g-comments"
        data-href="http://www.harvekeronline.com/3dlm-lesson-your-ideal-life/"
        data-width="medium"
        data-first_party_property="BLOGGER"
        data-view_type="FILTERED_POSTMOD">
     </div>**
     </div>
 </div>

“tabs”div可能会搞砸了,但除此之外,我不知道。 有没有人有什么建议?

0 个答案:

没有答案