C# 对齐段落标记内的按钮
我已经为按钮编写了一些内联css,使其看起来像一个链接。这样做的目的是因为我想发回表单。我面临的问题是格式问题。最初它是一个href,我用按钮替换了它。链接没有用文本换行。有人能帮忙吗。按钮前后都有很大的空间C# 对齐段落标记内的按钮,c#,asp.net,C#,Asp.net,我已经为按钮编写了一些内联css,使其看起来像一个链接。这样做的目的是因为我想发回表单。我面临的问题是格式问题。最初它是一个href,我用按钮替换了它。链接没有用文本换行。有人能帮忙吗。按钮前后都有很大的空间 <p> To transact through FundsNetwork you will firstly need to login to your <input style="background-color: transparent; text-decorati
<p>
To transact through FundsNetwork you will firstly need to login to your <input style="background-color: transparent; text-decoration: underline; border: none; white-space: normal; color: blue; cursor: pointer; " title="Link to FundsNetwork account manager. (opens in a new window)"
type=submit value="FundsNetwork Account Manager" >
To access this you will need your
FundsNetwork Customer Reference Number (a ten digit number beginning with ‘1’
that can found on your most recent statement from FundsNetwork) and pin. Please
call FundsNetwork on 0800 995511 if you need help logging in to the account manager.
</p>
设置填充:0;似乎可以修复。我试过了,但对我不起作用。你在测试哪个浏览器?在这里,使用最新的Opera,它看起来是对齐的。在chrome中对我来说也不错。你能给我一个没有对齐的图像吗?或更好的是,在jsfiddle.netI这样的网站上,我还建议您使用chrome的inspect right click->inspect element工具检查元素,以查找可能应用于它的CSS规则。