Home >Web Front-end >HTML Tutorial >About iFrame internal table width and height_html/css_WEB-ITnose

About iFrame internal table width and height_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:25:111410browse

The iFrame is embedded in the web page, and the width and height are fixed. Set a table (table or div) in the iFrame linked web page, and the width and height are both 100%;

But there are differences in the browsers, Chrome meets expectations , the upper part of the table in FF is a certain distance from the border (about 15px), and the table in IE is a certain distance from the right border (about 20px).

How should I set this to remove the extra distance?


Reply to the discussion (solution)

First find a piece of CSS Reset code online to unify the basic browser CSS differences, and then build on this Write html css

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