2009年11月9日 星期一

幫文字段落加上不一樣的underline

1.先圖片另存新檔, 上傳到網頁空間後, 取得圖片




2.在 HTML(css中), 加入程式碼
em{
background: url(http://圖片網址) repeat-x bottom;
line-height:22px;
font-style:normal;
}

3.如果在寫文章時, 想為某一段文字標上底線, 就在 html區加入
這段文字要加底線

例如我的部落格就是放置了在css中

em{
background: url(http://i768.photobucket.com/albums/xx326/calpa99/h5.gif) repeat-x bottom;
line-height:22px;
font-style:normal;
}

Come Form:http://www.skyvee.net/2008/04/underline.html

0 意見:

 
Blogger Template Layout Design by [ METAMUSE ] : Code Name BlackCat 2.0.0