滚动条没有出现? [英] Scroll bar not appearing?

查看:221
本文介绍了滚动条没有出现?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为Tumblr开发一个主题,并且由于某些原因滚动条没有出现? 这是博客的网址.

I'm developing a theme for Tumblr and the scrollbar isn't appearing for some reason? This is the url for the blog.

可以从页面的右键单击源代码中找到主题的代码(除了html以外,其他所有内容都被Tumblr弄乱了,并填充了{}空白)

The code for the theme can be found on the page source from the right click (all but the html as it gets messed up by Tumblr filling in the {} blanks)

<body>
<div id="titlebox">
<div id="title"><b>{Title}</b><div>
{block:IfHeaderImage}<img src="{image:Header}" class="avatar"/>{/block:IfHeaderImage}
<div id="description">{Description}</div>
{block:Pages}{block:HasPages}<div id="pages"><a href="{URL}" class="pagelabel">{Label}</a><br></div>{/block:HasPages}{block:Pages}
</div>
</div>
<div id="postholder">
{block:Posts}
<div id="post">
{block:Photo}<a href="{Permalink}"><img src="{PhotoURL-400}" alt="PhotoAlt" class="photo"></a>{/block:Photo}
{block:Text}{block:Title}{Title}{/block:Title}{Body}{/block:Text}
</div>
{/block:Posts}

推荐答案

主题的高度很小,因此滚动条消失了. 如果需要滚动条,请在<style type="text/css">标记下添加它:

The theme is in a way the the height is small therefore the scroll bar disappears. If you have to have a scroll bar try this by adding it under the <style type="text/css"> tag :

html {
    height: 110%;
    margin-bottom: 0.01em;
}

这篇关于滚动条没有出现?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆