我需要一个响应式桌面背景图片。我的问题是高度需要灵活,取决于内部有多少信息。我做了这样的:响应式桌面背景图片
body {
background-color: black;
}
<table style="width: 520px;background-image: url(http://wow.zamimg.com/images/wow/tooltip.png);background-size: cover;color:white">
<tr align="center" >
<td>Description1</td>
</tr>
<tr align="center" >
<td>Description2</td>
</tr>
<tr align="center" >
<td>Description3</td>
</tr>
</table>
的问题是,背景图像的底部被裁剪。
如何显示整个背景图像?
所以,你想它的规模,以查看图像藏汉的底部边框? –
是的,无论表格内有多少文字,我都需要看到所有边框。 – Robster