Home  >  Article  >  Web Front-end  >  How to change the font size in easyui-combobox. Wait online_html/css_WEB-ITnose

How to change the font size in easyui-combobox. Wait online_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:53:204289browse

How to change the font size in easyui-combobox... Waiting online, there are only 65 points left. If the test is successful, points will be given immediately.


Reply to the discussion (solution)

Is anyone else...

Same question. There is no method found on the Internet.

Modify the font-size:12 attribute of the combobox-item style sheet in easyui.css to be the drop-down list font size (default 12). .
Modify the font-size:12 attribute of the .combo .combo-text style sheet in easyui.css to be the font size in the box after selecting from the drop-down list (the default is also 12)

Cannot follow 3 Lou’s method, if you change easyui.css, all combobox fonts will change, which will be difficult to handle

You can use $.fn.window.defaults to rewrite the default value object, the poster will try it

If it doesn’t work, try the formatter attribute

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn