【发布时间】:2013-01-03 01:50:13
【问题描述】:
我有这个问题: http://liberainformazione.it/
标题css规则:
p.right_sidebar_title {
font-size: 16px!important;
font-weight: bold;
color: black;
margin: 7px 0!important;
line-height: 18px!important;
font-family: Arial,Helvetica,sans-serif;
font-weight: bold;
width: 300px;
}
蓝色矩形css规则:
.post-category-rightSidebar {
background: #369;
display: inline;
float: left;
font-size: 10px;
height: 16px;
line-height: 17px;
margin-right: 5px;
padding: 0 5px;
text-transform: uppercase;
color: white;
}
在 Chrome 或 Firefox 中,蓝色矩形在标题附近,但在 IE 中,标题在新行上..... 我不明白为什么 IE 无法识别我的 css 规则。
我做错了什么? 非常感谢。
【问题讨论】:
标签: html css internet-explorer google-chrome css-float