试试下面的方法,它会在某种程度上帮助你......
小提琴示例:http: //jsfiddle.net/RYh7U/127/
CSS:
.tableBG { position: relative; }
.imgBG {
position: absolute;
z-index: -1;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
}
HTML 表:
<table class="tableBG" width="300px" height="200px" border="1">
<tr><td><img class="imgBG" src="https://www.google.co.in/images/srpr/logo4w.png"/>fhdhd</td><td>dhd</td><td>ddhd</td></tr>
<tr><td>fhdhd</td><td>dhd</td><td>ddhd</td></tr>
<tr><td>fhdhd</td><td>dhd</td><td>ddhd</td></tr>
<tr><td>fhdhd</td><td>dhd</td><td>ddhd</td></tr>
<tr><td>fhdhd</td><td>dhd</td><td>ddhd</td></tr>
<tr><td>fhdhd</td><td>dhd</td><td>ddhd</td></tr>
<tr><td>fhdhd</td><td>dhd</td><td>ddhd</td></tr>
<tr><td>fhdhd</td><td>dhd</td><td>ddhd</td></tr>
<tr><td>fhdhd</td><td>dhd</td><td>ddhd</td></tr>
<tr><td>fhdhd</td><td>dhd</td><td>ddhd</td></tr>
<tr><td>fhdhd</td><td>dhd</td><td>ddhd</td></tr>
<tr><td>fhdhd</td><td>dhd</td><td>ddhd</td></tr>
<tr><td>fhdhd</td><td>dhd</td><td>ddhd</td></tr>
<tr><td>fhdhd</td><td>dhd</td><td>ddhd</td></tr>
<tr><td>fhdhd</td><td>dhd</td><td>ddhd</td></tr>
</table>
输出 :