用JavaScript最基础了。
[CODE]
<style type=text/css>
td
{
font-size: 12px;
color: #ff0000;
line-height: 150%;
}
.sec1
{
background-color: #eeeeee;
cursor: hand;
color: #000000;
border-left: 1px solid #FFffff;
border-top: 1px solid #FFFFFF;
border-right: 1px solid gray;
border-bottom: 1px solid #eeeeee
}
.sec2
{
background-color: #eeeeee;
cursor: hand;
color: #ff0000;
border-left: 1px solid #FFFFFF;
border-top: 1px solid #FFFFFF;
border-right: 1px solid gray;
font-weight: bold;
}
.main_tab
{
background-color: #eeeeee;
color: #000000;
border-left:1px solid #FFffff;
border-right: 1px solid gray;
border-bottom: 1px solid gray;
}
</style>
<script language=javascript>
function secBoard(n)
{
for(i=0;i<secTable.cells.length;i++)
secTable.cells[i].className="sec1";
secTable.cells[n].className="sec2";
for(i=0;i<mainTable.tBodies.length;i++)
mainTable.tBodies[i].style.display="none";
mainTable.tBodies[n].style.display="block";
}
</script><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table width=160 border=0 cellpadding=0 cellspacing=0 id=secTable>
<tr height=20 align=center>
<td class=sec2 width=10% onclick="secBoard(0)">企业</td>
<td class=sec1 width=10% onclick="secBoard(1)">个人</td>
</tr>
</table>
<table width=160 height=146 border=0 cellpadding=0 cellspacing=0
class=main_tab
id=mainTable>
<tbody style="display:block;">
<tr>
<td align=center valign=top>
<table width=80% height="100" border="0" cellpadding="0"
cellspacing="0" boder=1>
<tr height=5>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr align="center" valign="middle">
<td height="84" colspan="3"><img
src="http://hacker365.com/bbs/UploadFace/1521_200461415355667121.gif"
width="100" height="100"></td>
</tr>
</table>
</td>
</tr>
</tbody>
<tbody style="display:none;">
<tr>
<td align=center valign=top>
<table width=80% height="109" border="0" cellpadding="0" cellspacing="0"
boder=1>
<tr height=5>
<td width="25%"> </td>
<td width="75%"> </td>
</tr>
<tr>
<td><div align="left">昵称</div></td>
<td><div align="left">吃草的狼</div></td>
</tr>
<tr>
<td height="18">Q Q</td>
<td><div align="left">25924833</div></td>
</tr>
<tr>
<td>mail</td>
<td><div align="left">1832306@163.com</div></td>
</tr>
<tr>
<td height="19">主页</td>
<td><div align="left">998.it50.net</div></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table></td>
</tr>
</tbody>
</table>
[/CODE]
[此贴子已经被作者于2006-5-19 22:47:23编辑过]