仅在提交按钮中为S加下划线? [英] Underline just the S in the Submit Button?

查看:165
本文介绍了仅在提交按钮中为S加下划线?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个表单,我允许用户使用ALT-S键提交。


我想在提交按钮下面只有S加下划线,这是

可能吗?


谢谢,

Scott< -

I have a form that I allow the user to use the ALT-S key to submit.

I''d like to have just the S in the Submit button underlined, Is this
possible?

Thanks,
Scott<-

推荐答案

为什么这是一个ASP问题? ASP不知道按钮是什么。


< button>< u> S< / u> ubmit< / button>


请将未来的客户端问题发布到HTML新闻组...


-

Aaron Bertrand

SQL服务器MVP
http://www.aspfaq.com/



" Scott Townsend" <斯科特-I @ .- N0-SPAMplease.enm.com>在留言中写道

新闻:OW ************* @ tk2msftngp13.phx.gbl ...
Why is this an ASP question? ASP doesn''t know what a button is.

<button><u>S</u>ubmit</button>

Please post future client-side questions to an HTML newsgroup...

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:OW*************@tk2msftngp13.phx.gbl...
我有一张表格,我允许用户使用ALT-S键提交。

我想在提交按钮下面加上下划线,这是否可能?
<谢谢,
Scott< -
I have a form that I allow the user to use the ALT-S key to submit.

I''d like to have just the S in the Submit button underlined, Is this
possible?

Thanks,
Scott<-



Scott Townsend写道:
Scott Townsend wrote:
我有一个我允许用户使用ALT-S键提交的表单。

我想在提交按钮中加上下划线,这是否可能?

谢谢,
Scott< -
I have a form that I allow the user to use the ALT-S key to submit.

I''d like to have just the S in the Submit button underlined, Is this
possible?

Thanks,
Scott<-




我不认为这是可能的。提交按钮上显示的文本设置在

中,value属性只能包含字符(没有样式属性

....)。


你可以创建一个图像并使用IMG标签作为你的提交按钮...


这是一个HTML问题,而不是ASP问题所以你可能希望询问

更多关注HTML的新闻组。


HTH,

Bob Barrows


-

Microsoft MVP - ASP / ASP.NET

请回复新闻组。我的From

标题中列出的电子邮件帐户是我的垃圾邮件陷阱,因此我不经常检查它。通过发布到新闻组,您将获得更快的回复。



I do not think this is possible. The text shown on a submit button is set in
the value attribute which can contain only characters (no style properties
....).

You could create an image and use the IMG tag as your Submit button ...

This is more of an HTML issue than as ASP issue so you may wish to ask on a
more HTML-focussed newsgroup.

HTH,
Bob Barrows

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don''t check it very often. You will get a
quicker response by posting to the newsgroup.


感谢提示。


Aaron Bertrand - MVP < AA *** @ TRASHaspfaq.com>在消息中写道

news:ev ************* @ TK2MSFTNGP12.phx.gbl ...
Thanks for the Tip.

"Aaron Bertrand - MVP" <aa***@TRASHaspfaq.com> wrote in message
news:ev*************@TK2MSFTNGP12.phx.gbl...
为什么这是一个ASP问题? ASP不知道按钮是什么。

<按钮>< u> S< / u> ubmit< / button>

请发布未来的客户 - 对HTML新闻组的问题......

- Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/

" Scott Townsend" <斯科特-I @ .- N0-SPAMplease.enm.com>在消息中写道
新闻:OW ************* @tk2msftngp13.phx.gbl ...
Why is this an ASP question? ASP doesn''t know what a button is.

<button><u>S</u>ubmit</button>

Please post future client-side questions to an HTML newsgroup...

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"Scott Townsend" <scott-i@.-N0-SPAMplease.enm.com> wrote in message
news:OW*************@tk2msftngp13.phx.gbl...
我有一个表格,我允许用户使用ALT-S键提交。

我想在提交按钮下面加上下划线,这是否可能?

谢谢,
Scott< -
I have a form that I allow the user to use the ALT-S key to submit.

I''d like to have just the S in the Submit button underlined, Is this
possible?

Thanks,
Scott<-




这篇关于仅在提交按钮中为S加下划线?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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