顯示具有 CSS 標籤的文章。 顯示所有文章
顯示具有 CSS 標籤的文章。 顯示所有文章

2013年8月21日 星期三

設定字體大小

h1 {font-size:2.5em;} /* 40px/16=2.5em */
 h2 {font-size:1.875em;} /* 30px/16=1.875em */
 p {font-size:0.875em;} /* 14px/16=0.875em */


2013年2月20日 星期三

css replace iframe




    
    



    

this is a test. this is a test. this is a test. this is a test. this is a test. this is a test. this is a test. this is a test. this is a test. this is a test. this is a test. this is a test. this is a test. this is a test. this is a test. this is a test.

2012年10月1日 星期一

css round corner button

2011年1月10日 星期一

pre標籤中換行

程式碼
<style type='text/css'>
pre {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
</style>