Created
February 28, 2014 07:55
-
-
Save vampireneo/9267036 to your computer and use it in GitHub Desktop.
HTML for embed another page by iframe, without border
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"> | |
</head> | |
<body style="margin:0px;padding:0px;overflow:hidden"> | |
<iframe src="__URL_HERE__" frameborder="0" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;height:100%;width:100%;position:absolute;top:0px;left:0px;right:0px;bottom:0px" height="100%" width="100%"></iframe> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you so much - this is so simple and exactly what I needed. It would appear that
overflow:hidden
does whatframeborder=0
can't!