14 7月 2011

Display codes with more formal syntax.


After studying CSS, it's time to display codes with more professional way.


Style.1
#Header1 h1 
{
 font: $googlefont, Verdana;
 font-size: 36px;
 font-style: normal;
 font-weight: 400;
 text-shadow: none;
 text-decoration: none;
 text-transform: none;
 letter-spacing: 0em;
 word-spacing: 0em;
 line-height: 1.2;
}
Style.2
#Header1 h1 
{
 font: $googlefont, Verdana;
 font-size: 36px;
 font-style: normal;
 font-weight: 400;
 text-shadow: none;
 text-decoration: none;
 text-transform: none;
 letter-spacing: 0em;
 word-spacing: 0em;
 line-height: 1.2;
}

11 7月 2011

CSS + Blogger + Font


想寫好Blog, 連網頁語法都不通, 豈不矛盾?
所以近來閱讀 Jon Duckett 的 "Beginning HTML, XHTML, CSS, and JavaScript",

看完CSS前面章節, 該為我的小Blog做一點改變,從標題開始吧..
加上之前玩過一個有趣的Google API: Google Web Fonts.

試著結合卻發現有幾個題外Issue: