本文介绍了强调神器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个表单提交按钮,下面有一行我想要删除
。找不到它的来源。简化为基础,这里是

加价。我添加了margin-left以显示麻烦的线条。


< style type =" text / css">

#subt {margin-left :40px; }

< / style>


< form>

< ins>

< input type =" submit" ID = QUOT;子" />

< / ins>

< / form>


如何摆脱这条线?我把它上线:



-

海恩斯·布朗

I have a form submit button that has a line under it that I''d like to
remove. Can''t find its source. Reduced to its basics, here''s the
markup. I added margin-left to reveal the troublesome line.

<style type="text/css">
#subt { margin-left: 40px; }
</style>

<form>
<ins>
<input type="submit" id="sub" />
</ins>
</form>

How do I get rid of this line? I put it on line:
http://www.hartford-hwp.com/sandbox/test.html

--
Haines Brown

推荐答案




该行与表单无关,它应用于< ins>元素。


ins {text-decoration:none}


但请记住,不同的浏览器可能有不同的默认值

样式为< ins> ;.


-

回复电子邮件地址是无底垃圾邮件桶。

请回复小组,以便每个人都可以分享。



The line is unrelated to the form, it is applied to the <ins> element.

ins {text-decoration: none}

Keep in mind, though, that different browsers may have different default
styling for <ins>.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.





ins经常用下划线表示。我很好奇的是你为什么把按钮

放在里面? ins表示此内容是在页面初始发布后添加的。我看不出这是正确的标记。


如果你只是想避免直接将输入放入表单中,请使用div

相反。



ins is often underlined. What I''m curious about is why you put the button
inside ins? ins implies this content was added after initial publishing of
the page. I can''t see how this is correct markup.

If you''re just trying to avoid putting input directly into form, use a div
instead.





如果你不知道INS是什么或者它在浏览器中的处理方式是什么

可能是,你为什么要用它?


-

Harlan Messinger

删除我的电子邮件地址中的第一个点。

Veuillez?ter le premier point de mon adresse de courriel。



If you don''t know what INS is or what its treatment in the browser is
likely to be, why are you using it?

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ?ter le premier point de mon adresse de courriel.


这篇关于强调神器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-28 09:46