1
這裏我的CSS:CSS某些部分不刷新
@CHARSET "UTF-8";
.commandLinks {
margin: 5px;
padding: 5px 5px 5px 20px; /* 20px makes room for your background image */
/*border: 1px solid #aaa; */
}
.commandLinks .create {
margin-right: 10px;
color: red;
}
.commandLinks .vote {
color: blue;
}
.commandLinks .link {
color: orange;
font-weight: bold;
font-size: 16;
}
.button {
margin-right: 10;
margin-left: 5;
}
我嘗試不同的東西,刷新瀏覽器CTRL - F5,重新啓動月食等 但字體大小:16;或
margin-right: 10;
margin-left: 5;
不管怎麼說都不會。 例如,當我添加font-weight:bold;它看起來沒有問題。
我的JSF代碼:
<div id="links" class="commandLinks" >
<h:link styleClass="link" outcome="Answers">answers</h:link>
</div>
我做錯了什麼或者我怎麼能刷新CSS?
試過把16px而不是16? – harsh8888 2013-02-16 18:57:41
@ harsh8888:謝謝,它有效。 – 2013-02-16 18:59:45
我發佈這個作爲答案與參考類似的問題。 – harsh8888 2013-02-16 19:10:04