2007年1月18日 星期四

2007年1月15日 星期一

換成新版的Blogger

研究了好久,終於發現換成新版的Blogger原來很簡單。

中文版的Blogger沒有顯示轉換新Blogger的功能,所以在設定檔裡將語系設成英文,英文版的Blogger控制頁中就有轉換的功能,改完之後,再設回中文語系即可。

轉換過程需要一點時間,而且中文有一點點問題,原來的自己設定的中文連結變亂碼,不過POST的文章都還是正常。

2007年1月14日 星期日

用CSS為link加上icon

Showing Hyperlink Cues with CSS (Ask the CSS Guy)
http://www.askthecssguy.com/2006/12/showing_hyperlink_cues_with_cs_1.html

Attach icons to anything with CSS
http://www.hunlock.com/blogs/Attach_icons_to_anything_with_CSS

以下是CSS語法:
a[href $=\'.pdf\'] {
padding-right: 18px;
background: transparent url(icon_pdf.gif) no-repeat center right;
}
a[href ^=\"mailto:\"] {
padding-right: 20px;
background: transparent url(icon_mail.gif) no-repeat center right;
}
a[class =\"popup\"] {
padding-right: 18px;
background: transparent url(icon_popup.gif) no-repeat center right;
}
a[class ~=\"popup\"] {
padding-right: 18px;
background: transparent url(icon_popup.gif) no-repeat center right;
}