在 tumblr 上,如何在标题周围编写框架?

发布于 2024-10-09 09:18:33 字数 323 浏览 0 评论 0原文

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

我想要在图像标题周围有一个框架,这样当我向下滚动时内容就会消失, 但标题保持在原位...

就像这个博客:

tiredskin.tumblr.com

但我不知道如何为此,

请帮忙,

谢谢。

Here is my tumblr blog:
thestorywithnoending.tumblr.com

I want a frame around the image header, so that the content disapears when I scroll down,
but the header stays in place...

just like this blog:

tiredskin.tumblr.com

but I cant figure out how to do this,

please help,

thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

与君绝 2024-10-16 09:18:33

这就是您需要做的。如果它解决了您的问题,请将其替换为当前代码中的

                                                      

                                                      

                                                      

                                                      

                                  


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

p.s

<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>

,将其标记为最佳答案:)

Here's what you need to do.. Replace this in your current code

                                                      

                                                      

                                                      

                                                      

                                  


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

with this

<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>

p.s if it solved your problem, mark it as the best answer :)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文