psp3000连接电视:网页制作如何将表格做出立体效果?
来源:百度文库 编辑:中科新闻网 时间:2024/10/03 16:19:11
rt,就素比如用表格做菜单想作出有一点点立体效果的,如何设置?
立体表格呢
就是利用人的视觉错觉造成的
原理就是一边用暗一边用亮色
实现方法很多的 CSS JS TABLE边框属性 ====
< table cellspacing=1 border=1 bordercolorlight=white bordercolordark=maroon>
< tr>
< th>Food< /th>
< th>Drink< /th>
< th>Sweet< /th>
< tr>
< td>A< /td>
< td>B< /td>
< td>C< /td>
< /tr>
< /table>
< table cellspacing=1 border=1 bordercolorlight=white bordercolordark=maroon bgcolor=fdc0c0>
< tr>
< th>Food< /th>
< th>Drink< /th>
< th>Sweet< /th>
< tr>
< td>A< /td>
< td>B< /td>
< td>C< /td>
< /tr>
< /table>
随便找了两个 做参考
表格边框越大立体效果越突出