Skip to content

Instantly share code, notes, and snippets.

@marhan
Created December 17, 2010 17:42
Show Gist options
  • Save marhan/745344 to your computer and use it in GitHub Desktop.
Save marhan/745344 to your computer and use it in GitHub Desktop.
Complete website with iframe
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="EN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Full Page IFrame</title>
<style type="text/css">
html {overflow: auto;}
html, body, div, iframe {margin: 0px; padding: 0px; height: 100%; border: none;}
iframe {display: block; width: 100%; border: none; overflow-y: auto; overflow-x: hidden;}
</style>
</head>
<body>
<iframe id="tree" name="tree" src="PATH TO EXTERNEL CONTENT"
frameborder="0" marginheight="0" marginwidth="0" width="100%"
height="100%" scrolling="auto"></iframe>
</body>
</html>
@marhan
Copy link
Author

marhan commented Dec 17, 2010

Mit dieser HTML Datei kann man die Inhalte einer anderen Website komplett einbinden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment