<html>
<head>
<meta http-equiv="Content-Type"c/>
<title>IEBUG----tableposition&select</title>
<script>
function showDiv(){
var tbox=document.getElementById("tbox");
tbox.style.display=tbox.style.display=="none"?"":"none";
}
</script>
<style>
.badtable {
width:200px;
height:100px;
background-color:#f0f0f0;
position:relative;
}
/*#tbox{
position:relative;
} */
</style>
</head>
<body>
<input type="button" value="show/hide"/><br/>
<div id="tbox">
<select>
<option>我是一个select</option>
</select>
<table class="badtable" border="1">
<tr>
<td>表格内容1</td>
</tr>
</table>
</div>
其他内容1<br/>
其他内容2<br/>
其他内容3<br/>
其他内容4<br/>
</body>
</html>
[此贴子已经被作者于2011-5-25 11:51:53编辑过]