代码示例如下:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
*{margin:0;padding:0;list-style: none;}
.box{float:left;margin-right:3px;position: relative;}
.xialaBox{position:absolute;z-index:5;width:171px;height:300px;border:1px solid red;background:green;display: none;}
.selectBox2{display: inline-block;position: relative;}
.selectBox2 select{
position: absolute;
top:-15px;
/*width:173px;*/
}
</style>
</head>
<body>
<form action="" method="get">
<table>
<thead>
<tr>
<th>header</th>
<th>header</th>
<th>header</th>
<th>header</th>
<th>header</th>
<th>header</th>
<th>header</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div class="box">
<input type="text" class="pullDownText bar" name="">
<div class="xialaBox"></div>
</div>
</td>
<td>
<div class&#