乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      網(wǎng)易博客代碼(四)(圖片類)_上弦的電腦屋

       獨(dú) ① 無 ② 2009-05-08

      一、插入背景圖片

      <TABLE align=center background="背景圖" border=0 cellPadding=0 cellSpacing=0 borderColor=#ffff00 width="100%"><TBODY><TR><TD>

      內(nèi)容,文字或圖片.....

      </TD></TR></TBODY></TABLE>



      <TABLE> 的參數(shù)設(shè)定(常用):

      <table width="400" border="1" cellspacing="2" cellpadding="2" align="CENTER" valign="TOP" background="myweb.gif" bgcolor="#0000FF" bordercolor="#CF0000" bordercolorlight="#00FF00" bordercolordark="#00FFFF" cols="2">



      注解:

      width="400"

      表格寬度,接受絕對值(如 80)及相對值(如 80%)。

      border="1"

      表格邊框的厚度,不同瀏覽器有不同的內(nèi)定值,故請指明。

      cellspacing="2"

      表格格線的厚度

      align="CENTER"

      表格的擺放位置(水平),可選值為: left, right, center

      valign="TOP".

      表格里內(nèi)容的對齊方式(垂直),可選值為: top, middle, bottom。

      background="myweb.gif"

      表格的背景圖片,與 bgcolor 不要同用。

      bgcolor="#0000FF"

      表格的底色,與 background 不要同用

      bordercolor="#CF0000"

      表格邊框顏色

      bordercolorlight="#00FF00"

      表格邊框向光部分的顏色

      bordercolordark="#00FFFF"

      表格邊框背光部分的顏色,使用 bordercolorlight 或 bordercolordark 時(shí) bordercolor 將會(huì)失效。

      cols="2"

      表格欄位數(shù)目,只是讓瀏覽器在下載表格時(shí)先畫出整個(gè)表格而已。

      二、在網(wǎng)站上放圖片:

      <img src="地址"; width="480" height="360">

      圖片居中代碼:

      <DIV align=center>代碼</DIV>

      說明:

      將其中的center換為left或者right即為居左或居右

      三、圖片鏈接移動(dòng)代碼:

      例1:

      <marquee scrollamount="1" scrolldelay="60" direction="up" width="200" height="230"><div align="center"><a href="第一個(gè)連接網(wǎng)址" target="_blank"><img src="第一張圖片地址" width="200" border="0" /></a></div><div align="center"><a href=第二個(gè)連接網(wǎng)址 target="_blank"><img src="第二張圖片地址" width="200" border="0" /></a></div></marquee>

      例2:

      <marquee direction=left width=寬度>

      <img src="
      你的圖片地址">

      <img src="
      你的圖片地址">

      <img src="
      你的圖片地址">

      <img src="
      你的圖片地址">

      </marquee>

      例3:

      <marquee width=100% behavior=alternate><img src="你的圖片"></marquee>

      說明:

      以次類推,可以加很多張圖片,注意要加在最后一個(gè)</marquee>前面,就不會(huì)丟失移動(dòng)效果。

      四、圖片的濾鏡效果

      1.透明效果:(兩種都可)

      <img src="圖片地址" style="filter:Alpha(opacity=100,finishOpacity=0,style=0)">

      <div style="filter:Alpha(opacity=100,finishOpacity=0,style=0) ;width:寬;height:高"><img src="圖片地址"></div>



      注解:

      涉及到的屬性:修改數(shù)值對應(yīng)即可

      opacity:開始處的透明度

      finishOpacity:結(jié)束處的透明度

      style:0,平均透明 1,線狀透明 2,圓形透明 3,菱形透明

      2.翻轉(zhuǎn)效果:



      (1)左右翻轉(zhuǎn)格式:

      <img src="圖片地址" style="filter:FlipH">

      <div style="filter:FlipH ;width:寬;height:高"><img src="圖片地址"></div>

      (2)上下翻轉(zhuǎn)格式:

      <img src="圖片地址" style="filter:FlipV">

      <div style="filter:FlipV ;width:寬;height:高"><img src="圖片地址"></div>



      3.變調(diào)效果

      (1)灰調(diào)格式:

      <img src="圖片地址" style="filter:Gray">

      <div style="filter:Gray ;width:寬;height:高"><img src="圖片地址"></div>

      (2)X光效果:

      <img src="圖片地址" style="filter:Xray">

      <div style="filter:Xray ;width:寬;height:高"><img src="圖片地址"></div>



      (3)色彩對換:

      <img src="圖片地址" style="filter:Invert">

      <div style="filter:Invert ;width:寬;height:高"><img src="圖片地址"></div>

      4.邊框效果:

      (1)發(fā)光邊框:



      <div style="filter:Glow(color=#4A7AC9,strength=15);width:濾鏡寬;height:濾鏡高" align=center><br><img src="圖片地址"></div>

      說明:

      (color為發(fā)光顏色代碼,strength是發(fā)光強(qiáng)度,濾鏡寬=圖寬+發(fā)光強(qiáng)度x2,濾鏡高=圖高+發(fā)光強(qiáng)度x2+10)

      (2)投影邊框:



      <div style="filter:Shadow(color=#4A7AC9,direction=135);width:濾鏡寬;height:濾鏡高" align=center><br><img src="圖片地址"></div>

      說明:

      (color為發(fā)光顏色代碼,direction方向(只能是45度的倍數(shù)如:45,90,135,180,225,270,315度),濾鏡寬=圖寬+25)

      濾鏡高=圖高40)

      (3)陰影邊框:



      <div style="filter:Dropshadow(color=#333333,offX=5,offY=5);width:濾鏡寬;height:濾鏡高" align=center><br><img src="圖片地址"></div>

      說明:

      (color為發(fā)光顏色代碼,offX水平位移offY垂直位移(可正可負(fù)),濾鏡寬=圖寬+水平位移絕對值+10,濾鏡高=圖高+垂直位移絕對值+20)

      (4)模糊:



      <div style="filter:Blur(direction=135);width:濾鏡寬;height:濾鏡高" align=center><br><img src="圖片地址"></div>

      說明:

      (direction方向(只能是45度的倍數(shù)如:45,90,135,180,225,270,315度),濾鏡寬=圖寬+15,濾鏡高=圖高+30)

      (5)波形:



      <div style="filter:Wave(freq=7,strength=9,lightstrength=5,phase=5);width:濾鏡寬;height:濾鏡高" align=center><br><img src="圖片地址"></div>

      說明:

      (freq頻率(>0)strength振幅強(qiáng)度(>0)lightstrength波峰強(qiáng)度(0~100愈高越黑)phase起始相位(0~100),濾鏡寬=圖寬+振幅強(qiáng)度x2,濾鏡高=圖高+振幅強(qiáng)度x2+10)

      五、CSS濾鏡實(shí)現(xiàn)圖片特效(模糊倒影+霧化+多層FLASH特效+百葉窗)

      1.圖片靜態(tài)倒影代碼



      <P align=center><IMG height=高度 src="圖片地址" width=寬度><BR><IMG style="FILTER: wave

      (strength=3,freq=3,phase=0,lightstrength=30) blur() flipv()" height=高度 src="
      圖片地址" width=寬度> </p>

      說明:

      修改其中的圖片地址和高度寬度即可。

      2.給圖片加多層FLASH特效代碼

      <P align=center>

      <TABLE height=表格高度 cellSpacing=0 cellPadding=0 width=寬度 background=圖片地址 border=0>

      <TBODY>

      <TR>

      <TD><EMBED align=right src=第一個(gè)FLASH地址 width=寬 height=高 type=application/octet-stream wmode="transparent" quality="high" ;;><EMBED align=right src=第二個(gè)地址 width=400 height=300 type=application/octet-stream wmode="transparent" quality="high" ;;>.......以此類推</EMBED></TD></TR></TBODY></TABLE></P>

      說明:

      修改代碼中的漢字為自己想要的。

      3.圖片霧化效果

      < TD>

      <P align=center>

                              <TABLE border=0>

                              <TBODY>

                              <TR>

                              <TD style="FILTER: Alpha(opacity=100,style=2)"

                              width=420

            


        本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點(diǎn)擊一鍵舉報(bào)。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評論

        發(fā)表

        請遵守用戶 評論公約

        類似文章 更多