<div id="divAdd" style="text-align:right; width:690px" runat="server">
<input type="button" class="backbtn" value="添加记录" onmouseover="this.className='backbtn1'" onmouseout="this.className='backbtn'" />
</div>
.backbtn{ background:url(../image/btnbg02.gif) no-repeat; width:91px; height:32px; cursor:pointer; border:0; font-size:14px;}
.backbtn1{ background:url(../image/btnbg03/gif) no-repeat; width:91px; height:32px; cursor:pointer; border:0; font-size:14px;}做个移入移出切换图片的动态按钮,可是第一张02的图片可以显示,但是第二张移入的图片不显示,不知道为什么?
<input type="button" class="backbtn" value="添加记录" onmouseover="this.className='backbtn1'" onmouseout="this.className='backbtn'" />
</div>
.backbtn{ background:url(../image/btnbg02.gif) no-repeat; width:91px; height:32px; cursor:pointer; border:0; font-size:14px;}
.backbtn1{ background:url(../image/btnbg03/gif) no-repeat; width:91px; height:32px; cursor:pointer; border:0; font-size:14px;}做个移入移出切换图片的动态按钮,可是第一张02的图片可以显示,但是第二张移入的图片不显示,不知道为什么?
这个错了啊,应该是(../image/btnbg03.gif
测试没问题 图片路径问题
实在不知道路径怎么写 在页面SRC自动获取路径地址 复制上去