您的位置:首页技术文章
文章详情页

单元格本来是写文字的地方插入背景图片,这种方式正确吗?

【字号: 日期:2022-10-26 13:12:45浏览:48作者:猪猪

问题描述

就是

<table border="1" align="center">

<tr>

<td width="325" height="155" background:"">

<img src="D:网站设计html5设计移动页码设计bd1.png" alt="百度"/>

</td>

<td width="480" height="320">

<img src="D:网站设计html5设计移动页码设计kz1.jpg" alt="裤子"/>

</td>

</tr>

<tr>

<td width="704" height="535">

<img src="D:网站设计html5设计移动页码设计dq1.jpg" alt="电器"/>

</td>

<td width="667" height="438">

<img src="D:网站设计html5设计移动页码设计yf1.jpg" alt="衣服"/>

</td>

</tr>

</table>

问题解答

回答1:

图片路径地址最好用服务器的路径