wordpress tagcloud样式不起作用

时间:2014-02-05 02:15:45

标签: css wordpress

在过去的几个小时里一直在搞乱它。试图在标签之间找到一个垂直空间,但没有运气...... 博客有一个单独的模板文件。

在这里直播链接 http://soloveich.com/pr6/blog/

Html代码

<div id="tagy">
widget code
</div>

CSS

#tagy {
margin-top: 20px !important;
}

#one h2 {
text-align: center;
width: 100%;
padding-top: 45px;
padding-bottom: 10px;
font-family: 'Raleway', sans-serif;
font-size: 26px !important;
color: #7e7e7e;
border-bottom-style: dotted;
border-bottom-color: #a6a6a6;
border-bottom-width: 1px;
}

 .seo-tag-cloud a {
margin: 10px;
padding: 7px;
background-color: #dddddd;
color: #666666;
font-size: 14px !important;
text-align: center;
}

1 个答案:

答案 0 :(得分:0)

display: inline-block添加到您的.seo-tag-cloud a样式中。默认情况下,锚点是内联的,这意味着它们没有边距。

相关问题