EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 02, 2024, 04:51:29 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
How to set the textbox style?
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to set the textbox style? (Read 6549 times)
frankgao
Jr. Member
Posts: 53
How to set the textbox style?
«
on:
August 19, 2016, 01:08:06 AM »
How to set the textbox fontsize?
like font-size:16px;font-weight:bold;
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: How to set the textbox style?
«
Reply #1 on:
August 19, 2016, 01:35:24 AM »
Please try this code:
Code:
.textbox .textbox-text,
.textbox .textbox-prompt{
font-size: 16px;
}
Logged
frankgao
Jr. Member
Posts: 53
Re: How to set the textbox style?
«
Reply #2 on:
August 19, 2016, 05:43:04 PM »
$('#t1').textbox('textbox').css('font-size', '18px');
$('#t1').textbox('textbox').css('font-weight', 'bold');
Thanks,I use the method.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...