Rumah > Artikel > hujung hadapan web > 360浏览器兼容问题_html/css_WEB-ITnose
.style1 { width: 100%; background-color: #CCFFCC; } <table id="tableselect" class="style1"> <tr style="width: 770px;"><td style="width: 302px;"> <input type="checkbox" id="isbydate" /> 拉丝时间: <input id="txtbegin" class="inputwidth" type="date" disabled="disabled" /> ~ <input id="txtend" class="inputwidth" type="date" disabled="disabled" /> </td> </tr> </table>
宽度不够,加大宽度。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>无标题文档</title></head><body><style>.style1{width: 100%; background-color: #CCFFCC;}</style><div class="style1"> <table id="tableselect" border="0" cellspacing="1" cellpadding="3" width="770"> <tr> <td width="435"> <input type="checkbox" id="isbydate" /> 拉丝时间: <input id="txtbegin" class="inputwidth" type="date" disabled="disabled" /> ~ <input id="txtend" class="inputwidth" type="date" disabled="disabled" /> </td> <td width="335"></td> </tr> </table></div></body></html>
问题解决了,谢谢