日期:2014-05-17  浏览次数:20729 次

新手,浏览器兼容问题
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>

<script>  
<!--  
/*第一种形式 第二种形式 更换显示样式*/  
function setTab(name,cursel,n){  
 for(i=1;i<=n;i++){  
  var menu=document.getElementById(name+i);  
  var con=document.getElementById("con_"+name+"_"+i);  
  menu.className=i==cursel?"hover":"";  
  con.style.display=i==cursel?"block":"none";  
 }  
}  
//-->  
</script>


<body>
<div id="div-welcome">
  <div id="wel-1">
  <div id="wel-01">您好;欢迎光临!请登录</div>
  </div>

  <div id="wel-3">
  <div id="wel-03">新手上路 | 礼品兑换 | 邀请好友 |</div>

  <div id="wel-003"><img src="img/05.jpg" width="69" height="18" /></div>
  </div>
  <div id="wel-2"><img src="img/01_01.jpg" /><img src="img/01_02.jpg" width="68" height="21" /><img src="img/01_03.jpg" width="82" height="21" /><img src="img/01_04.jpg" width="93" height="21" /></div>  
</div>

<div id="logo">
  <div id="logo01"><img src="img/logo.jpg" width="301" height="73" /></div>
  
  <div id="seach">
  <div id="seach01">
  <div id="Container3">
  <div id="Course">
<div id="Course_top">
<!--选项卡开始-->
<div id="Tab1">
  <div class="Menubox">
  <ul>
  <li id="one1" onMouseOver="setTab('one',1,3)" class="hover">比较价格</li>
  <li id="one2" onMouseOver="setTab('one',2,3)" >淘宝返利</li>
  <li id="one3" onMouseOver="setTab('one',3,3)">优惠券</li>  

  </ul>
  </div>
  </div>
</div>
<div id="Course_c">
<div class="Contentbox">
  <div id="con_one_1" class="hover"><table id="__01" width="472" height="33" border="0" cellpadding="0" cellspacing="0">
  <tr>
  <td width="6"><img src="img/sear_01.jpg" width="6" height="33" /></td>
  <td width="385" height="33" background="images/sear_02.jpg" class="i-001">
  <input name="textfield" type="text" value="请输入要搜索的产品 如:明朝那点事" size="55"/>
  </td>
  <td width="81"><img src="img/sear_03.jpg" width="77" height="33&qu