[英]Increased font-size of text for the Uploadify Button
I want to increase the text for the uplodify button without chaning the button size. 我想在不改变按钮大小的情况下增加上层按钮的文本。
E.g: 'buttonText' : 'Upload Image'.
I want to increase the size of upload image text only. 我只想增加上传图片文字的大小。
Use this jQuery to change the text: 使用此jQuery更改文本:
$('#button_id').text("Upload Image"); // change text of button
Then with CSS you can keep the width the same: 然后使用CSS可以保持宽度不变:
#button_id {
width: 50px; /* change this to what you want */
}
Remember to change button_id
to the actual id of your button. 记住将button_id
更改为按钮的实际ID。
jsFiddle: http://jsfiddle.net/NathanJohnson/67cv3/ jsFiddle: http : //jsfiddle.net/NathanJohnson/67cv3/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.