当前位置: 首页 > 图文教程 > 网页制作 > Dreamweaver > 简单实用的网页表格特效

Dreamweaver
DW MX实例二:快速建立站点
DW MX实例三:巧用框架建立网站
DW MX实例四:嵌入式框架的妙用
DW MX实例五:模板构建和更新网站
DW MX实例:利用表格美化页面
DW MX实例:制作弹出菜单
DW MX实例:多彩文字链接
DW MX实例:个性化 IE 滚动条
DW MX实例:极酷的鼠标外观
DW MX实例:特色分隔线
DW MX实例:网站个性小图标
DW MX实例:构建Java插入模块
DW MX实例:图片应用技巧
DW MX实例:地图链接综合实例
DW MX实例:网页过渡特效
DW MX实例:实现全景图浏览
DW MX实例:插入Flash按钮与文本
DW MX实例:插入交替图像按钮
DW MX实例:添加透明背景的Flash
DW MX实例:Flash个性播放界面

Dreamweaver 中的 简单实用的网页表格特效


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-23   浏览: 70 ::
收藏到网摘: n/a

    在我们制作主页的过程中,用到表格的地方非常多,灵活运用表格技巧可以为我们的网页增色不少,这里我就详细介绍几中特效表格的制作方法。

  一、彩色虚线表格

<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>

  二、鼠标指向单元格变色
 
onmouseout="this.style.backgroundColor=''" 鼠标离开效果onmouseover="this.style.backgroundColor='#FFcccc'"鼠标放上去的效果,
可以修改#FFcccc的值来改变颜色

<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>