在Firefox中,在图像顶部显示“提交查询”的图像按钮 [英] Image button displaying 'Submit query' over the top of image in Firefox

查看:106
本文介绍了在Firefox中,在图像顶部显示“提交查询”的图像按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目在IE和chrome中都正确显示。但是在FF中由于某种原因,图像按钮在其顶部显示提交查询。我在CSS中设置图像位置,它是绝对正确的,因为它在所有浏览器中正常工作,它只是FireFox的某些原因灰泥'提交查询'在每个图像按钮的顶部。

My project is displaying correctly in both IE and chrome. However in FF for some reason the image button displays 'Submit query' over the top of it. I am setting the image location in CSS and it is definitely correct as it is working correctly in all browsers, its just that FireFox for some reason plasters 'Submit Query' over the top on each image button.

这是我的CSS:

.NavModuleTabs A.NavModuleSelectedWide1
{
color: #555555;
margin-top: 10px;
padding-top: 5px;
height: 25px;
background-image: url(../Images/NavBar/NavModuleTab_125.gif);
background-repeat: no-repeat;
font-weight: bold;
width: 130px;
display: block;
}

有人有什么想法为什么会这样吗?我通过google找到了一些解决方案,但到目前为止没有什么工作。

Does anybody have any ideas why this happens? I found a few solutions via google but nothing has worked for me so far.

谢谢

推荐答案

将此属性添加到您的按钮:

Add this attribute to your button:

value=""

这篇关于在Firefox中,在图像顶部显示“提交查询”的图像按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆