EasyUI Forum
April 29, 2024, 06:13:47 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to set the easyui-textbox background color?  (Read 8233 times)
frankgao
Jr. Member
**
Posts: 53


View Profile Email
« on: July 30, 2016, 02:08:37 AM »

When the textbox is readonly="readonly",i need set the background color red or blue.
how to do it? 
thanks!
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: July 30, 2016, 05:17:50 PM »

Please add this code to the page.
Code:
<style type="text/css">
    .textbox-readonly .textbox-text{
        background: blue;
    }
</style>
Logged
medandevelop
Newbie
*
Posts: 9


View Profile
« Reply #2 on: August 26, 2018, 09:58:55 PM »

thank you
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!