Home > Web Front-end > JS Tutorial > jqeury-easyui-layout problem solution_jquery

jqeury-easyui-layout problem solution_jquery

WBOY
Release: 2016-05-16 16:54:31
Original
1244 people have browsed it

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?
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template