我的网站底部有一个类似 facebook 的按钮。当我点击它时,我可以输入评论的“框”出现在我的网络浏览器窗口之外,我无法向下滚动或类似的东西(见下面的截图 - 图像的底部是窗口的底部)。我怎样才能解决这个问题?(即使框出现在按钮上方)。tks
HTML
<div id="social">
<div class="fb-like" data-href="http://mydomain.com" data-send="false" data-layout="button_count" data-width="106" data-show-faces="false" data-font="verdana"></div>
<a href="https://twitter.com/share" class="twitter-share-button" data-lang="msa">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
CSS:
#footer {
position: fixed;
bottom: 0;
color: #333;
left: 0;
z-index: 999;
width: 96%;
text-align: right;
padding: 30px 2%;
vertical-align: bottom;
}
#social {
position: absolute;
vertical-align: middle;
left: 2%;
color: #333;
}
.fb_iframe_widget, iframe.twitter-share-button {
display: inline-block;
vertical-align: middle;
}
span.languageselector {
display: inline-block;
height: 20px; /* same height as #social div */
line-height: 20px; /* same as line-height */
}