使用图形而不是“浏览”按键 [英] Using a graphic instead of the "Browse" button

查看:30
本文介绍了使用图形而不是“浏览”按键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


是否可以,而不是按钮浏览对于HTML

< input type =" file">元素,在其位置有图形?怎么会这样做?b / b
谢谢, - 戴夫

Hello,

Is it possible, instead of having the button "Browse" for the HTML
<input type="file"> element, to have a graphic in its place? How would
this be done?

Thanks, - Dave

推荐答案

la***********@zipmail.com 写道:
la***********@zipmail.com wrote:
是否有可能,而不是按钮浏览对于HTML
< input type =" file">元素,在它的位置有一个图形?
Is it possible, instead of having the button "Browse" for the HTML
<input type="file"> element, to have a graphic in its place?




否......至少不一致而且不会以不会呈现
$ b的方式$ b按钮完全无法被某些用户使用。


-

David Dorward< http://blog.dorward.me.uk/> < http://dorward.me.uk/>

Home是〜/ .bashrc的地方



No... at least not consistently and not in a way which would not render the
button entirely unusable by some users.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


laredotornado写道:
laredotornado wrote:
怎么做?




不能。


-

Toby A Inkster BSc(荣誉)ARCS

联系我〜 http://tobyinkster.co.uk/contact



Can''t.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact


您可能无法......


但是对于提交按钮,你可以这样做。


< BUTTON name =" submit"值= [提交" type =" submit">

任何文字如果需要< IMG src =" ie.gif" alt ="哇">

< / BUTTON>


签入 www.w3c.org 你可能会找到一种方式......


/干杯,
-MadGuy

You might not be able to...

But for submit button you can do like this.

<BUTTON name="submit" value="submit" type="submit">
Any Text If Need <IMG src="ie.gif" alt="wow">
</BUTTON>

Check in www.w3c.org and you might find a way......

/Cheers,
-MadGuy


这篇关于使用图形而不是“浏览”按键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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