Home >
Web Front-end >
JS Tutorial >
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
WBOY
Release: 2016-05-16 17:07:59
Original
1062 people have browsed it
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)
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:
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