Home >
Article > Web Front-end > Solve the problem of JQeury displaying content without margins and content next to the browser edge_jquery
Solve the problem of JQeury displaying content without margins and content next to the browser edge_jquery
- WBOYOriginal
- 2016-05-16 17:07:591034browse
The content displayed on the written JQuery page has no margins, and the content is close to the browser edge, which is particularly ugly (as shown below)
The code is as follows:
Actually the reason It’s very simple, that is, the displayed content is not placed in the content, so just add a data-role="content" in the div. The modified code is as follows:
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