1
我有一個號碼:commandLink在XHTML頁面如何刪除p:commendlink中的邊框?
的CSS:
.deleteBinButtonLnk { width: 17px; height: 19px;
border-style: none !important;
padding: 2px 2px;
background: url('../images/buttons/delete_bin_off.png')
no-repeat;
}
.deleteBinButtonLnk:hover{ width: 17px; height: 19px;
border: none;
background: url('../images/buttons/delete_bin_on.png')
no-repeat;
這裏顯示的邊界在小時圖像:graphicImage的。 我不需要邊框。
請告訴解決方案。
咦?爲什麼你有作爲的''而不是在'' CSS背景圖像?這是一個完全出乎意料和錯誤的HTML/CSS方法,它具有圖像鏈接。 – BalusC
我認爲這個答案會幫助你http://stackoverflow.com/a/10224573/1692632 – Darka