Home  >  Article  >  Web Front-end  >  jqeury-easyui-layout problem solution_jquery

jqeury-easyui-layout problem solution_jquery

WBOY
WBOYOriginal
2016-05-16 16:54:311212browse

Today when I was using easyui to make layout, I encountered a confusing problem.

Problem: When class="easyui-layout" is written in an independent div, the layout style cannot be displayed and no error is reported.

For example:

Copy code The code is as follows:
















Display:
jqeury-easyui-layout problem solution_jquery
Solution: When class="easyui-layout" is written in the body, the problem is solved. And the region attribute cannot be included by other unrelated divs.

Code:
Copy code The code is as follows:
















jqeury-easyui-layout problem solution_jquery
Always wondering why?
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