首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >在tumblr上,我如何在头部周围编码一个帧?

在tumblr上,我如何在头部周围编码一个帧?
EN

Stack Overflow用户
提问于 2010-12-29 11:30:00
回答 1查看 1.7K关注 0票数 1

这是我的tumblr博客:thestorywithnoending.tumblr.com

我想要一个围绕图像标题的框架,这样当我向下滚动时,内容会消失,但标题会留在原处……

就像这个博客一样:

tiredskin.tumblr.com

但我不知道该怎么做,

请帮帮忙,

谢谢。

EN

回答 1

Stack Overflow用户

发布于 2010-12-29 11:49:17

这是你需要做的..在当前代码中替换此代码

代码语言:javascript
复制
                                                      

                                                      

                                                      

                                                      

                                  


</style>
<body>
<p><center><a href="http://thestorywithnoending.tumblr.com"><img src="http://michaeljamess.webs.com/blogheader.png" border="0"/></a></center>
</p>

有了这个

代码语言:javascript
复制
<style type="text/css">
#left {
 float: left;
 margin-left:338px;
 width: 500px;
 height: 100px;
 font-size: 11px;
 text-align:left;
 position:fixed;
 background-color:none;
 padding:0px;
 z-index:999;
 top:0px;
}
#content{
 margin-top:300px!important;
}
</style>
<div id="left">
  <center>
   <a href="http://thestorywithnoending.tumblr.com">
     <img src="http://michaeljamess.webs.com/blogheader.png" border="0"/>
   </a>
  </center>
</div>

附注:如果它解决了您的问题,请将其标记为最佳答案:)

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/4551266

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档