<meta charset=utf-8>
<style>
.contain{
width:504px;
height:auto;
margin:0 auto;
border:1px solid #ccc;
}
a{
text-decoration:none;
}
ul{
list-style:none;
}
.a1{
float:left;
width:100px;
height:30px;
line-height:30px;
text-align:center;
border-top:4px solid blue;
border-left:1px solid #ccc;
border-right:1px solid #ccc;
}
.aa1{
width:100px;
height:30px;
float:left;
line-height:30px;
text-align:center;
border-bottom:4px solid blue;
border-top:1px solid #ccc;
border-right:1px solid #ccc;
}
.a2{
border-bottom:4px solid blue;
border-top:1px solid #ccc;
border-right:1px solid #ccc;
width:200px;
height:30px;
font-size:3px;
}
.a2 a{
position:relative;
right:-80px;
margin:3px;
}
.con_1{
width:504px;
}
.con_2{
width:484px;
margin-left:18px;
}
.t2{
margin-top:10px;
}
#carr img,#twoo img,#jiangg img{
width:100px;
height:89px;
}
.im{
margin-left:-7px;
float:left;
width:100px;
height:auto;
}
.c1{
color:rgb(18,1,159);
font-weight:bold;
}
.content1{
float:left;
}
.content ul li{
padding-left:10px;
}
.t3{
margin-left:20px;
}
.t4{
margin-left: 106px;
height:100px;
margin:0 auto;
}
.con{
margin-top:7px;
margin-left:-9px;
}
</style>
<div class="contain">
<table align=center border=0 cellpadding=0 cellspacing=0>
<tr>
<td >
<a href="#" id="car1" onclick="op('car')" class="a1"><img src="images/img1.jpg">汽车</a>
<a href="#" id="car2" onclick="op('car')" style="display:none;" class="aa1"><img src="images/img1.jpg">汽车</a></td>
<td ><a href="#" id="jiang1" onclick="op('jiang')" class="a1" style="display:none;">降价</a>
<a href="#" id="jiang2" onclick="op('jiang')" class="aa1">降价</a></td>
<td ><a href="#" id="two1" onclick="op('two')" class="a1" style="display:none;">二手车</a>
<a href="#" id="two2" onclick="op('two')" class="aa1">二手车</a></td>
<td class="a2" colspan=3>
<a href="#" >查违章|</a><span style="float:left;margin-left:-20px;"></span>
<a href="#">优惠|</a><span style="float:left;margin-left:-22px;"></span>
<a href="#">论坛</a>
</td>
</tr>
</table>
<div class="con_1">
<div class="con_2">
<table cellspacing=0 cellpadding=0 align=center class="t2">
<tr><td >
<div class=cc>
<div id="carr">
<div class="im">
<img src="images/img2.jpg" >
<p style="margin-top:2px;font-size:4px;background:#ccc;"><a href="#">全新思域颜值逆天</a></p>
</div>
<div class="content1">
<table border=0 height=90 cellspacing=0 cellpadding=0 class="t3">
<tr height=35>
<td colspan=2><a href="#" class="c1">丰田RAV4/本田CR-V 紧凑SUV谁更好</a></td>
</tr>
<tr height=35>
<td ><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
<tr height=35>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
</table>
</div>
<div class="con">
<table border=0 height=90 cellspacing=0 cellpadding=0 class="t4" width=480>
<tr height=35 >
<td ><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
<tr height=35>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
<tr height=35>
<td ><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
<tr height=35>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
<tr height=35>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
</table>
<div class="foo"><a href="#" style="color:rgb(100,255,255);">广告|</a>
<span style="font-size:17px;">北现勇夺今后服务大奖 XEV260深度试驾体验</span>
</div>
</div>
</div>
</div>
<div id="jiangg" style="display:none;">
<div class="im">
<img src="images/img3.jpg" >
<p style="margin-top:2px;font-size:4px;background:#ccc;"><a href="#">全新思域颜值逆天</a></p>
</div>
<div class="content1">
<table border=0 height=90 cellspacing=0 cellpadding=0 class="t3">
<tr height=35>
<td colspan=2><a href="#" class="c1">丰田RAV4/本田CR-V 紧凑SUV谁更好</a></td>
</tr>
<tr height=35>
<td ><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
<tr height=35>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
</table>
</div>
<div class="con">
<table border=0 height=90 cellspacing=0 cellpadding=0 class="t4" width=480>
<tr height=35 >
<td ><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
<tr height=35>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
<tr height=35>
<td ><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
<tr height=35>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
<tr height=35>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
</table>
</div>
<div class="foo"><a href="#" style="color:rgb(100,255,255);">广告|</a>
<span style="font-size:17px;">北现勇夺今后服务大奖 XEV260深度试驾体验</span>
</div>
</div>
</div>
<div id="twoo" style="display:none;">
<div class="im">
<img src="images/img4.jpg" >
<p style="margin-top:2px;font-size:4px;background:#ccc;"><a href="#">全新思域颜值逆天</a></p>
</div>
<div class="content1">
<table border=0 height=90 cellspacing=0 cellpadding=0 class="t3">
<tr height=35>
<td colspan=2><a href="#" class="c1">丰田RAV4/本田CR-V 紧凑SUV谁更好</a></td>
</tr>
<tr height=35>
<td ><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
<tr height=35>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
</table>
</div>
<div class="con">
<table border=0 height=90 cellspacing=0 cellpadding=0 class="t4" width=480>
<tr height=35 >
<td ><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
<tr height=35>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
<tr height=35>
<td ><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
<tr height=35>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
<tr height=35>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
<td><a href="#" >全新标致308买哪款好</a></td>
</tr>
</table>
</div>
<div class="foo"><a href="#" style="color:rgb(100,255,255);">广告|</a>
<span style="font-size:17px;">北现勇夺今后服务大奖 XEV260深度试驾体验</span>
</div>
</td></tr>
</table>
</div>
</div>
</div>
<script>
function op(t){
if(t=='car'){
document.getElementById('car2').style.display="none";
document.getElementById('car1').style.display="block";
document.getElementById('jiang2').style.display="block";
document.getElementById('two2').style.display="block";
document.getElementById('two1').style.display="none";
document.getElementById('jiang1').style.display="none";
document.getElementById('carr').style.display="block";
document.getElementById('twoo').style.display="none";
document.getElementById('jiangg').style.display="none";
}else if(t=='jiang'){
document.getElementById('car1').style.display="none";
document.getElementById('car2').style.display="block";
document.getElementById('jiang1').style.display="block";
document.getElementById('two2').style.display="block";
document.getElementById('two1').style.display="none";
document.getElementById('jiang2').style.display="none";
document.getElementById('carr').style.display="none";
document.getElementById('twoo').style.display="none";
document.getElementById('jiangg').style.display="block";
}else if(t=='two'){
document.getElementById('car1').style.display="none";
document.getElementById('car2').style.display="block";
document.getElementById('jiang2').style.display="block";
document.getElementById('two1').style.display="block";
document.getElementById('two2').style.display="none";
document.getElementById('jiang1').style.display="none";
document.getElementById('carr').style.display="none";
document.getElementById('twoo').style.display="block";
document.getElementById('jiangg').style.display="none";
}
}
</script>