tumblr javascript 嵌入了 css 皮肤 [英] tumblr javascript embed with css skin

查看:27
本文介绍了tumblr javascript 嵌入了 css 皮肤的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将一个最新的 tumblr 帖子添加到另一个页面.我发现最简单的方法是使用 tumblr 提供的 Javascript 代码

I am trying to add a single most recent tumblr post to another page. I found the easiest way is to use the Javascript code provided by tumblr

这是他们提供的:

<script type="text/javascript" src="http://occupy837.tumblr.com/js"></script>

添加?num指定帖子数,所以我可以看到我快到了

adding ?num specifies the number of posts, so I can see that I am almost there

<script type="text/javascript" src="http://occupy837.tumblr.com/js?num=1"></script>

当我进入页面时(www.Occupy837.com) 一个帖子出现了!我现在唯一的问题是帖子左侧有一个 1

when I go to the page (www.Occupy837.com) One single post shows up! my only issue now is that it has a single 1 on the left of the post

tumblr 引用[使用] 代码将您的帖子嵌入为基本 HTML,您可以使用 CSS 换肤:"

tumblr quotes "[use the] code to embed your posts as basic HTML that you can skin with CSS:"

有谁知道我如何删除那个号码?!我需要用 CSS 做什么才能让它消失!

Does anyone have any idea how I can remove that number?! what do I have to do with CSS to make that disappear!

推荐答案

答案在这里!

在做了一些研究之后,我发现这是解决方案:

after doing some research I found this to be the solution:

ol.tumblr_posts{

    list-style:none;
}

注意不要输入tumbler",因为它总是没有e"

be careful not to type "tumbler" because it is always without the "e"

这篇关于tumblr javascript 嵌入了 css 皮肤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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