4
我想刪除的代碼的邊界,同時使用google-code-prettify
。我嘗試了以下,但沒有結果。刪除谷歌代碼,美化邊境
pre.prettyprint {
border: none;
}
我也嘗試刪除所有pre
標記的邊界,同樣的結果。
pre {
border: none;
}
謝謝!
我想刪除的代碼的邊界,同時使用google-code-prettify
。我嘗試了以下,但沒有結果。刪除谷歌代碼,美化邊境
pre.prettyprint {
border: none;
}
我也嘗試刪除所有pre
標記的邊界,同樣的結果。
pre {
border: none;
}
謝謝!
我認爲你需要告訴它設置的樣式指令應該聽瀏覽器。 !important
屬性應該告訴你的瀏覽器你想讓你的CSS先例。
pre.prettyprint {
border: none !important;
}
這個工作!看到這裏:http://www.ncssm.edu/~morrison/currentClasses/402/Aug/testPrettify.php – ncmathsadist