想让某个div中的背景图片连接到某个url上,但是还不想让这个div中显示在这个背景图片之上的table的工作受到影响
求助,遇到个问题,想让某个div中的背景图片连接到某个url上,但是还不想让这个div中显示在这个背景图片之上的table的工作受到影响,希望点击背景图片则显示链接,点击table则进行table的处理。
谢谢
HTML 代码大意如下,请问
<div id="reg_srch_frm">
<div class="wrap">
<form method="GET" enctype="multipart/form-data" id="reg_cate_srch_form">
<table align="center" style="margin-left:auto;margin-right:auto;margin-top: 90px;text-align:left">
<tr>
<th>服务地区: </th>
<td></td>
</tr>
</table>
</form>
</div>
</div>
css代码如下
#reg_srch_frm { width: 1000px; height: 280px; float: left; background: url(../images/index_bg.gif); }
.reg_srch_tbl { width: 700px; height: 180px; float: left; background: #ffff00; margin-left: auto; margin-right: auto ;}