html代码 通用代码,新浪博客通用html代码及其使用方法
經(jīng)常上新浪博客又偶爾看到有些NX的博客總會(huì)把自己的領(lǐng)地打扮得漂漂亮亮的,總給人一種神圣敢,讓人羨慕不已。其實(shí)方法很簡(jiǎn)單,你也可以輕松打造!
首先,你登陸你的博客 > 控制面板 > 首頁內(nèi)容維護(hù) >
自定義空白面板 > 新增 >
填寫標(biāo)題,然后最重要的一步是選一下“顯示源代碼”,最后就是直接將如下通用代碼修改一下,填寫到你的正文區(qū)并“保存”。這樣,你的代碼就OK了!
這個(gè)時(shí)候你預(yù)覽你的博客,還看不到你需要的效果,你還需要顯示你的杰作,步驟是,控制面板
> 定制我的首頁 > 添加模塊 > 選取剛剛創(chuàng)建的模塊 >
保存并刷新。
搞定,生活就這么簡(jiǎn)單!~
以下是芹晴搜集并整理的幾個(gè)通用代碼,僅供大家參考:
音樂和視頻
嵌入:
type=audio/mpeg loop="true">
背景:
width--播放器寬度
height-播放器高度
loop---重復(fù)播放次數(shù),其中-1為無限次
autostart-是否自動(dòng)播放
Flash
嵌入:
pluginspage=http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash
src="SWF文件網(wǎng)址" width=480 height=360
type=application/x-shockwave-flash quality="high">
前景:
align=center src=SWF文件網(wǎng)址 width=700 height=400
type=application/x-shockwave-flash wmode="transparent"
quality="high">
網(wǎng)頁(如天氣預(yù)報(bào))
height=240>
掛件
src="掛件圖片地址" border=0>
鼠標(biāo)指針
a:hover {cursor:url('鼠標(biāo)文件網(wǎng)址a')}
BODY {cursor:url('鼠標(biāo)文件網(wǎng)址b')}
新浪博客各部分背景代碼一覽
body
{background:url("頁面大背景圖片地址") repeat
scroll!important;}
.logo
{background:url("題圖上背景圖片地址") no repeat no
scroll!mportant;}
.banner
{background:url("題圖下背景圖片地址") no repeat no
scroll!mportant;}
.menu
{background:url("題圖下的菜單背景圖片地址") no-repeat
center;}
.feeds .up
{background:url("正文標(biāo)題欄上翻時(shí)的圖片") no-repeat center;}
.feeds .down
{background:url("正文標(biāo)題欄下翻時(shí)的圖片") no-repeat center;}
.feeds .function
{background:url("正文摘要結(jié)尾處菜單的圖片") no-repeat right;}
.feeds .page
{background:url("正文文章頁數(shù)圖片") no-repeat center;}
.links .up
{background:url("面板標(biāo)題欄上翻時(shí)圖片");}
.links .down
{background:url("面板標(biāo)題欄下翻時(shí)的圖片");}
.links .mid
{background:url("面板的背景圖片地址");}
.photo .mid
{background:url(個(gè)人形象照片處的背景圖片地址);}
.label .mid
{background:url("自定義面板的背景圖片地址");}
.calendar .mid
{background:url("日歷面板背景圖片地址");}
.callboard .up
{background:url("公告欄標(biāo)題欄上翻時(shí)圖片");}
.callboard .down
{background:url("公告欄標(biāo)題欄下翻時(shí)圖片");}
.callboard .mid
{background:url("公告欄背景圖片地址");}
.bodyBg
{background:url("頁面內(nèi)背景圖片地址");}
.bodyBottom
{background:url("正文背景圖片");}
.gbook .up
{background:url("留言板標(biāo)題欄上翻時(shí)的圖片地址") no-repeat;}
.gbook .down
{background:url("留言板標(biāo)題欄下翻時(shí)的圖片地址") no-repeat;}
總結(jié)
以上是生活随笔為你收集整理的html代码 通用代码,新浪博客通用html代码及其使用方法的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: html表格数据点击事件,如何在ivie
- 下一篇: delphi pdf 转换 html5,