第一種 利用圖象編輯軟件
最常用的圖象編輯軟件是photoshop,制作過程如下:
1、選取一張圖片;
2、打開photoshop,為該圖片建立一背景復本圖層;
3、對該圖層進行描邊和陰影設置;
4、調整畫布大小;
5、將圖片保持為jpg文件。見下圖:
第二種 利用表格制作
請參看下列代碼:
< html>
< head>
< title>表格圖片陰影< /title>
< meta http-equiv="content-type" content="text/html; charset=gb2312">
< /head>
< body bgcolor="#ffffff" text="#000000">
< table width="263" border="0" cellspacing="0" cellpadding="0" height="203">
< tr>
< td valign="top" width="243" height="183" colspan="2" rowspan="2">< img src="/files/beyondpic/oldjcwimg/2005-11/15/05111512072934856.jpg" width="240" height="180">< /td>
< td width="20" height="20">< /td>
< /tr>
< tr>
< td width="20" height="163" bgcolor="#000000" style="filter:alpha(opacity=100, finishopacity=0, style=1, startx=0, starty=0, finishx=100, finishy=0) alpha(opacity=100, finishopacity=0, style=1, startx=0, starty=10, finishx=0, finishy=0)">< /td>
< /tr>
< tr>
< td width="20" height="20">< /td>
< td width="223" height="20" bgcolor="#000000" style="filter:alpha(opacity=100, finishopacity=0, style=1, startx=0, starty=0, finishx=0, finishy=100) alpha(opacity=100, finishopacity=0, style=1, startx=10, starty=0, finishx=0, finishy=0)">< /td>
< td width="20" height="20" bgcolor="#000000" style="filter:alpha(opacity=100, finishopacity=0, style=1, startx=0, starty=0, finishx=0, finishy=100) alpha(opacity=100, finishopacity=0, style=1, startx=0, starty=0, finishx=100, finishy=0)">< /td>
< /tr>
< /table>
< /body>
< /html>
新聞熱點
疑難解答