<style type="text/css"> body{font-size:12px;line-height:150%;} table{font-size:12px;line-height:150%;} a:link {color:#000; text-decoration:none} a:visited {color:#000; text-decoration:none} a:active {color:#000; text-decoration:none} a:hover {color:#ff0000; text-decoration:underline} .s01 {border:#6BA6DE 1px solid; border-bottom:0px; background:#eff7ff; padding-top:1px} .s02 {border:#ffffff 1px solid; border-bottom:#6BA6DE 1px solid; background:#ffffff;} </style> <table width="247" border="0" cellpadding="0" cellspacing="0" id="secTable"> <tr align="center"> <td id="cl01" width="60" class="s01" onClick="secBoard(1);" style="cursor:hand">选项卡1</td> <td id="cl02" width="60" class="s02" onClick="secBoard(2);" style="cursor:hand">选项卡2</td> <td id="cl03" width="60" class="s02" onClick="secBoard(3);" style="cursor:hand">选项卡3</td> <td id="cl04" width="60" class="s02" onClick="secBoard(4);" style="cursor:hand">选项卡4</td> <td width="7" class="s02"> </td> </tr> </table> <table width="247" height="200" style="border:#6BA6DE 1px solid; border-top:0px;"> <tr> <td height="20">这还可以放固定不变的东西,如果要加上,去掉注释符</td> </tr> <tr> <td valign="top" style="padding-top:5px;"> 这个里面可以放你需要的东西,如果有多个选项卡的话可以适量修改代码就可以了 具体的大小你自己调,我这做的很明显,注意上面表格和下面表格宽度要一样,下面一个表格的高度随便改,最好手动修改本代码,即不要用 DW 等工具调大小 所有的样式呀什么的,你都可以自己改,不懂的再问我 嘿嘿,专为 ..... 设计制作 </td> </tr> </table> [Ctrl+A 全选 注:如需引入外部Js需刷新才能执行] HTML/CSS技术:实用的标签效果,转载需保留来源! 郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。