【问题标题】:Removing the list style for the Twitter Badge删除 Twitter 徽章的列表样式
【发布时间】:2010-11-19 03:25:49
【问题描述】:

我正在寻找删除当前应用于我的列表的圆形项目符号列表样式。我试过添加 list-style:none;对于我拥有的与 twitter 提要相关的几乎每个 css id,都没有任何作用。这是我的代码。

<div id="twitter_div">
<ul id="twitter_update_list"></ul>
</div>

#twitter_div {
    float:left;
    margin:0;
    padding:0;
    width:205px;
    height:467px;
    margin-left:11px;
    color:#e5e0bd;
    text-align:left;
    font-size:14px;
    overflow:auto;
}

#twitter_div ul {
    float:left;
    margin:0;
    padding:0;
    margin-left:16px;
}

#twitter_div ul li {
    margin-bottom:.5em;
    list-style:none;
}

#twitter_div ul a {
    text-decoration:none;
    color:#666666;
}

#twitter_div ul a:hover {
    text-decoration:none;
    color:#bfbfbf;
}

正如你在这里看到的http://jacobnlsn.com/ 它仍然显示圆圈!!

【问题讨论】:

    标签: html css twitter


    【解决方案1】:

    list-style: none 应该是list-style-type: none

    【讨论】:

    • list-style: 是 list-style-type 的快捷方式:不过我想通了,因为列表是由 javascript 运行的,所以我只需要重新上传代码的脚本部分!不过谢谢!
    【解决方案2】:

    修好了,只好在CSS中添加样式代码后重新上传index.php!

    【讨论】:

      猜你喜欢
      • 2018-12-21
      • 1970-01-01
      • 2019-04-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-04-10
      • 2021-09-27
      • 2018-07-04
      相关资源
      最近更新 更多