-1

我正在为客户端重新编辑 html 代码,但是当我更改按钮的大小时,文本消失了?

这是我在记事本++中使用的代码....

<button ="join for free" align="center" style=" font face: trebuchet ms; color: #262626; width: 20%; height: 25px; font-size: 10pt; background-color: #fffd40 "value="Join for Free!"></button>

我使用了没有宽度和高度的按钮,它太小了,你几乎看不到按钮,所以我添加了宽度和高度,现在它不显示文本“免费加入”

有什么建议么?非常感谢提前..

4

1 回答 1

0

尝试这个。

<button  align="center" style=" font face: trebuchet ms; color: #262626; width: 20%; height: 25px; font-size: 10pt; background-color: #fffd40;">join for free</button>

工作演示

于 2013-10-01T12:22:06.000 回答