<td class="style1" align='center' height='35'>
<div style='overflow: hidden; width: 230px;'>
<a class='link' herf='' onclick='topic(<?=$key;?>)'>
<span id='name<?=$key;?>'><?=$name;?></span>
</a>
</div>
</td>
Run Code Online (Sandbox Code Playgroud)
这是我的CSS脚本
.style1 {
background-image: url('http://localhost/msite/images/12.PNG');
background-repeat: no-repeat;
background-position: left center;
}
Run Code Online (Sandbox Code Playgroud)
我想伸展background-image整个<td>细胞