[英]Need a next post button for blogger
I am working on a blog and wanted to add a next post button somewhere between every post like this website. 我正在写博客,想在此网站的每个帖子之间添加下一个帖子按钮。 http://www.damnlol.com/
http://www.damnlol.com/
In the website, you can see a blue button through which you can go to next or previous post. 在网站上,您可以看到一个蓝色按钮,通过该按钮可以转到下一个或上一个帖子。 I tried creating something similar to my blog @ http://viralonlineimages.blogspot.com/2011/11/invisible-man.html but nothing worked.
我尝试创建与我的博客类似的东西@ http://viralonlineimages.blogspot.com/2011/11/invisible-man.html,但没有任何效果。 Is there any way to add the button there?
有什么办法可以在那里添加按钮吗?
This is the code which can place an image at the position: 这是可以将图像放置在以下位置的代码:
Add position: relative;
添加
position: relative;
to your #main-wrapper div. 到您的#main-wrapper div。 Add
position: absolute; top: 45px; z-index:999
添加
position: absolute; top: 45px; z-index:999
position: absolute; top: 45px; z-index:999
position: absolute; top: 45px; z-index:999
to #blog-pager span (You'll need to create this) Add left: 0;
position: absolute; top: 45px; z-index:999
到#blog-pager span (您需要创建此值), left: 0;
添加left: 0;
to #blog-pager-newer-link Add right: 0
to #blog-pager-older-link 到#blog-pager-newer-link添加
right: 0
到#blog-pager-older-link
#main-wrapper {
width: 580px;
margin: 20px 0px 20px 5px;
float: left;
word-wrap: break-word;
overflow: hidden;
position: relative;
}
#blogger-pager span {
position: absolute;
top: 45px;
z-index: 999;
}
#blog-pager-newer-link {
left: 0;
}
#blog-pager-older-link {
right: 0;
}
You can use negative values for left
ad=nd right
properties too. 您也可以为
left
广告= right
属性使用负值。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.