代码:
<td width= "19 " height= "379 " background= "../CommonImages/hotel1_18.gif ">
</td>
报错:
Error 84 Validation (XHTML 1.0 Transitional): Attribute 'background ' is not a valid attribute of element 'td '. D:\wangjun\TravelWeb\Web\Hotel\HotelMainSearch.aspx 403 37 D:\...\Web\
谢谢 !!
------解决方案--------------------------------------------------------
<table>
<tr>
<td style= "width:200px; height:30px; background-image:url(../CommonImages/hotel1_18.gif) ">
</td>
</tr>
</table>