《css 样式》IE6 不兼容DIV背景色吗?为什么我设置的DIV背景色无法显示?
<divstyle="background:red"><tablealign="center"cellpadding="0px"cellspacing="0px"clas...
<div style="background:red">
<table align="center" cellpadding="0px" cellspacing="0px"
class="position">
<tr>
<td>
<input type="button" value="管理员维护" class="mouseOutStyle"
onMouseover="this.className='mouseOverStyle'"
onMouseout="this.className='mouseOutStyle'">
</td>
<td>
<input type="button" value="部门维护" class="mouseOutStyle"
onMouseover="this.className='mouseOverStyle'"
onMouseout="this.className='mouseOutStyle'">
</td>
<td>
<input type="button" value="人员维护" class="mouseOutStyle"
onMouseover="this.className='mouseOverStyle'"
onMouseout="this.className='mouseOutStyle'">
</td>
<td>
<input type="button" value="班次" class="mouseOutStyle"
onMouseover="this.className='mouseOverStyle'"
onMouseout="this.className='mouseOutStyle'">
</td>
<td>
<input type="button" value="查询" class="mouseOutStyle"
onMouseover="this.className='mouseOverStyle'"
onMouseout="this.className='mouseOutStyle'">
</td>
</tr>
</table>
</div> 展开
<table align="center" cellpadding="0px" cellspacing="0px"
class="position">
<tr>
<td>
<input type="button" value="管理员维护" class="mouseOutStyle"
onMouseover="this.className='mouseOverStyle'"
onMouseout="this.className='mouseOutStyle'">
</td>
<td>
<input type="button" value="部门维护" class="mouseOutStyle"
onMouseover="this.className='mouseOverStyle'"
onMouseout="this.className='mouseOutStyle'">
</td>
<td>
<input type="button" value="人员维护" class="mouseOutStyle"
onMouseover="this.className='mouseOverStyle'"
onMouseout="this.className='mouseOutStyle'">
</td>
<td>
<input type="button" value="班次" class="mouseOutStyle"
onMouseover="this.className='mouseOverStyle'"
onMouseout="this.className='mouseOutStyle'">
</td>
<td>
<input type="button" value="查询" class="mouseOutStyle"
onMouseover="this.className='mouseOverStyle'"
onMouseout="this.className='mouseOutStyle'">
</td>
</tr>
</table>
</div> 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询