Iframe untuk Full Page

<?php
$url=$_GET['u'];
$title=$_GET['title'];
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title><?php echo $title;?></title>
<style>
*{margin:0;padding:0}
html, body {height:100%;width:100%;overflow:hidden}
table {height:100%;width:100%;table-layout:static;border-collapse:collapse}
iframe {height:100%;width:100%}

.header {border-bottom:1px solid #000}
.content {height:100%}
</style>
</head>
<body>
<table>
  <tr><td class="header"><div><h1><?php echo $title;?></h1></div></td></tr>
  <tr><td class="content">
      <iframe src="<?php echo $url;?>" frameborder="0"></iframe></td></tr>
</table>
</body>
</html>

Posting Komentar

Lebih baru Lebih lama