The scroll bar appears after the height in the iframe is set to 100%_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:45:37
Original
1264 people have browsed it

Use the layout component of easyui, as shown in Figure 1 below. After an iframe with a height of 100% is embedded in the center, a vertical scroll bar will appear in the div containing this iframe.


Figure 1


Without easyui, after directly nesting the iframe for testing, I found that after setting

body{margin:0;padding:0;}
Copy after login

the scroll bar was gone

But it doesn’t work in easyui. Could you please help me, demo address:
http://pan.baidu.com/s/1mgBqkh6


Reply to discussion (solution)

Did it myself

http://stackoverflow.com/questions/9129182/iframe-100-height-causes-vertical-scrollbar

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