EasyUI Forum
June 28, 2024, 08:26:41 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: units such as rem,em don't work in easyui?  (Read 2494 times)
kingor2001
Jr. Member
**
Posts: 61


View Profile
« on: June 17, 2019, 10:35:04 PM »

units such as rem,em don't work in easyui?
<input class="easyui-textbox" style="width: 180px;" data-options="label:'abc'"> works!
but
<input class="easyui-textbox" style="width: 10rem;" data-options="label:'abc'"> is invalid.
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: June 18, 2019, 07:14:19 PM »

Use this code instead.
Code:
<span style="display:inline-block;width:20rem;>
<input class="easyui-textbox" style="width:100%">
</span>
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!