Archive for “ June 5th, 2009 ”
05
Jun
Post on 10:59, June 5, 2009, by Sue Zhou

厌烦了贴代码时跟wordpress自动格式化没完没了的较劲,一遍又一遍的更新,然后去主页看效果。于是用了插件,简单明了。

不常贴代码,应该说也就是最近两天才开始贴的,这两天一直在温故知新和创新,主要是为了记录点啥备忘 。

插件很简单,在HTML模式下编辑。格式如下:

<pre><code>代码</code></pre>

很简单,也正是我所要的。

链接:http://www.thunderguy.com/semicolon/wordpress/code-markup-wordpress-plugin/

Category: 分享  Tags: ,  Leave a Comment
05
Jun
Post on 09:54, , by Sue Zhou
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend {
	margin:0;
	padding:0;
	border:0;
	outline:0;
	font-size:100%;
	vertical-align:baseline;
	background:transparent;}

body { line-height:1;}

ol, ul { list-style:none;}

blockquote, q {	quotes:none;}

/* remember to define focus styles! */
:focus { outline:0; }

/* remember to highlight inserts somehow! */
ins {	text-decoration:none;}
del {	text-decoration:line-through;}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse:collapse;
	border-spacing:0;
}

Read more…

Category: 分享  Tags:  Leave a Comment