|
網(wǎng)站建設(shè)是指使用標(biāo)識(shí)語(yǔ)言(markup language),通過(guò)一系列設(shè)計(jì)、建模、和執(zhí)行的過(guò)程將電子格式的信息通過(guò)互聯(lián)網(wǎng)傳輸,最終以圖形用戶界面(GUI)的形式被用戶所瀏覽。簡(jiǎn)單來(lái)說(shuō),網(wǎng)頁(yè)設(shè)計(jì)的目的就是產(chǎn)生網(wǎng)站。簡(jiǎn)單的信息如文字,圖片(GIF,JPEG,PNG)和表格,都可以通過(guò)使超文件標(biāo)示語(yǔ)言、可擴(kuò)展超文本標(biāo)記語(yǔ)言等標(biāo)示語(yǔ)言放置到網(wǎng)站頁(yè)面上。 在我們制作主頁(yè)的過(guò)程中,用到表格的地方非常多,靈活運(yùn)用表格技巧可以為我們的網(wǎng)頁(yè)增色不少,這里我就詳細(xì)介紹幾中特效表格的制作方法。 一、彩色虛線表格 <style type="text/css"> <!-- .tab1 { border-top-width: thin; border-right-width: thin; border-bottom-width: thin; border-left-width: thin; border-top-style: dotted; border-right-style: dotted; border-bottom-style: dotted; border-left-style: dotted; border-top-color: #00CC66; border-right-color: #0099CC; border-bottom-color: #FF0000; border-left-color: #6699FF; } --> </style> <table width="200" border="0" cellpadding="2" cellspacing="2" class="tab1"> <tr> <td><div align="center">虛</div></td> <td><div align="center">線</div></td> </tr> <tr> <td><div align="center">表</div></td> <td><div align="center">格</div></td> </tr> </table> 二、鼠標(biāo)指向單元格變色 onmouseout="this.style.backgroundColor=''" 鼠標(biāo)離開(kāi)效果onmouseover="this.style.backgroundColor='#FFcccc'"鼠標(biāo)放上去的效果, 可以修改#FFcccc的值來(lái)改變顏色
<table width="200" border="1" cellspacing="0" cellpadding="0"> <tr> <td onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFcccc'"> </td> </tr> <tr> <td onmouseout="this.style.backgroundColor=''" onmouseover="this.style.backgroundColor='#FFccaa'"> </td> </tr> </table>
大多數(shù)人在上網(wǎng)的時(shí)候,都會(huì)瀏覽網(wǎng)頁(yè)提供給我們的信息。
|
溫馨提示:喜歡本站的話,請(qǐng)收藏一下本站!