很久之前的文章了,只好回覆佔板面了 @@
請問 CODE{ } 裡的語法要貼在哪…
Template→Edit HTML,是指 範本→修改HTML吧
※ 引述《uvm ()》之銘言:
: 其他家不清楚,我是用Blogger,很方便,
: 只要去Template→Edit HTML,
: 在Posts的部分加上以下語法,
: CODE {
: display: block; /* fixes a strange ie margin bug */
: font-family: Courier New;
: font-size: 8pt;
: overflow:auto;
: background: #f0f0f0 url(http://klcintw.images.googlepages.com/Code_BG.gif) left top repeat-y;
: border: 1px solid #ccc;
: padding: 10px 10px 10px 21px;
: max-height:200px;
: line-height: 1.2em;
: }
: 之後文章中要貼語法時,
: 只要把語法放在<code></code>之間就可以了。
: 效果請看 http://tinyurl.com/y79fss
: ---
: 歡迎到我的部落格坐坐 http://khaihiok.blogspot.com/
--
請問 CODE{ } 裡的語法要貼在哪…
Template→Edit HTML,是指 範本→修改HTML吧
※ 引述《uvm ()》之銘言:
: 其他家不清楚,我是用Blogger,很方便,
: 只要去Template→Edit HTML,
: 在Posts的部分加上以下語法,
: CODE {
: display: block; /* fixes a strange ie margin bug */
: font-family: Courier New;
: font-size: 8pt;
: overflow:auto;
: background: #f0f0f0 url(http://klcintw.images.googlepages.com/Code_BG.gif) left top repeat-y;
: border: 1px solid #ccc;
: padding: 10px 10px 10px 21px;
: max-height:200px;
: line-height: 1.2em;
: }
: 之後文章中要貼語法時,
: 只要把語法放在<code></code>之間就可以了。
: 效果請看 http://tinyurl.com/y79fss
: ---
: 歡迎到我的部落格坐坐 http://khaihiok.blogspot.com/
--
All Comments