post by tommy @ 07 九月, 2006 15:40
在 CSS 中加上 pre 的屬性, 用來取代原本使用 table 放程式碼的方式.
在 style.css 中加上:
/* twu2 begin, code attribute */
pre {
border-style: outset;
border-width: thin;
overflow: auto;
font-family: Courier New,Courier,mono;
background-color: #ccffff;
width: 98%;
padding: 1px;
margin: 1px auto 1px auto;
max-height: 100em;
}
/* twu2 end, code attribute */
另外在 tinymce 的 CSS, js/tinymce/themes/advanced/css/editor_content.css 中也加上相同的設定.
新增 Google Analytics 的 plugins.