<div class="bookmark" style='top: 35%; position: fixed; left: 6%;'>
<div id='pageshare' title="Get this from amazingeworld.com">
<div class='shareaholic-canvas' data-app='share_buttons' data-app-id='10714211'></div>
</div></div>如下图所示:

浮动的社交媒体在页脚部分重叠。请检查上面的图像
发布于 2014-10-11 01:50:38
你应该改变:
<div class="bookmark" style='top: 35%; position: fixed; left: 6%;'>至
<div class="bookmark" style='bottom: 20px; position: fixed; left: 6%;'>你可以用你的页脚的高度来替换"20px“。
提示:如果您可以访问CSS文件,则应该避免使用内联CSS,并将样式放在应该放在的位置:在外部样式表中。
发布于 2014-10-11 01:50:12
作为一个快速解决方案,您可以将style='top: 35%;设置为较低的值,但请注意,这并不一定在所有屏幕尺寸上都很好看。
对于那些特殊的情况,你可能不得不想出一个不同的解决方案。使用css media queries。
https://stackoverflow.com/questions/26305157
复制相似问题