工作总结归纳--快速美化页面小代码
速美化页面小代码移动文字代码:
marquee scrollamount=1这里放要移动的内
容,可以是文字,图片等/marquee
;;
加图片代码
img src="图片的网络地址"
改变字体样式
font size=4 face="隶书"color=#ffffff你要的文字
/font
其中size表示大小
color表示颜色
为文字或图片加链接
a href="要链接到的页面网址"内容(图片代码或文字)/a
定位:
DIV style="left:420px;POSITION:absolute;TOP:200px"其他代码/DIV
天气预报加动态时间,显示本地地址
iframe scrolling="no"frameborder="0"width="305"height="167"src="
ta/tianqi/"allowtranspa*y="true"
/iframe
在线QQ代码:
a target=blank href=
rd?V=1&Uin=438676673&a mp;amp;Site=spohome.blogch ina.comMenu=yes img border="0"SRC=
=1:438676673:13 alt="有事点这儿Q我!"
/a
把QQ号改为自己的就行啦。
时钟代码:
embed src=
nimal/tokei.swf width="160"height="160"quality="high"wmode="transpa*"
/embed
改变滚动条颜色代码:
style html{scrollba r-face-color:#3366FF;scrol lbar-highlight-color:#CD33 99;scrollbar-shadow-color:
#DDDDDD;scrollbar-3dlight-
color:#36CCFF;scrollbar-ar row-color:#00669;scrollbar
-track-color:#FBFBFB;scrol lbar-darkshadow-color:#DDF FEE;scrollbar-base-color:#
DDDDDD;}
/style
留言板代码:
embed src=
_service/smallpaint/swf/ma in.swf?server_url=/_users&
amp;amp;service_url=http:/
/blog.xuite.net/_service/s mallpaint/&save_url=ht tp://blog.xuite.net/_servi ce/smallpaint/save.php&
;list_url=
e.net/_service/smallpaint/
list.php&bid=457190&am p;author=Y quality="high"pluginspage=
romedia.com/go/getflashpla yer type="application/x-shockw ave-flash"width="140"height="310"
/embed
模拟QQ空间欢迎动画:
embed style="right:-120px;POSITION:absolute;TOP:-40px"align=right src=
/qzone/space_item/orig/0/7 408.swf width=1030 height=600 type=application/x-shockwa ve-flash wmode="transpa*"quality="high"
/embed
挂件代码:
DIV id=kongfu style="RIGHT:10px;POSITION:absolute;TOP:-100px"
IMG src="图片地址(自己加进去)"border=0
/DIV RIGHT后面的数值是挂件离右边的距离,TOP后面的
数值是离顶部的距离,可以根据实际需要自己调整.
*隐约头像*代码
style aimg{filter:alpha(opacity=100,
style=2);}a:hover img{filter:none;}
/style
三个播放器代码:
EMBED src="
tv/999yucom/王心凌_爱你.wmv"width="330"height="250"
type=audio/mpeg loop="false"autostart="ture"
embed src=
ovie/ad/hlx.wmv type=audio/x-pn-realaudio-
plugin console=clip1 controls=ImageWindow height=420 width=640 autostart=True loop=True embed src="
v/_8HZaEeScDg"type="application/x-shockw ave-flash"width="360"height="300"
/embed
显示当前时间:
iframe src="
ck/#color:ff0000;font-size
:9pt"width=200 height=20 frameborder=0 scrolling=no allowTransparency=true
/iframe
页面跳转特效:
head meta http-equiv="page-enter"content="revealtrans(durat ion=6.0,transition=23)"
meta http-equiv="page-exit"content="revealtrans(durat ion=6.0,transition=23)"
/head
设置页面自动刷新:
head meta http-equiv=refres hcontent="30"
/head content后面的数字代码隔几秒刷一次