vedatdemirkan adlı üyeden alıntı: mesajı görüntüle
Bu kod işinizi görecektir
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Page with iFrame that FITS!</title> <style type="text/css" media="screen"> html, body { position: absolute; height: 100%; max-height: 100%; width: 100%; margin: 0; padding: 0; }
iframe { position: absolute; height: 100%; width: 100%; border: none; }
#container { position: absolute; top: 50px; /* Change with Height of #header */ bottom: 0; width: 100%; overflow: hidden ; }
#header { position: absolute; top: 0px; height: 50px; /* Change with top of #container */ color: #eee; background-color: #ccc; width: 100%; }
</style>
</head>
<body>
<div id="header"></div> <div id="container"> <iframe src="http://www.istediginizadres.com"></iframe> </div>
</body> </html>
Teşekkür ederim. Açıkçası bunu denemedim daha önce, fakat bu kod ile 1. domain içinde herhangi bir script bırakmadan sadece bir index.php ile maskeleme url değişmeden mümkünse harika bir şey gerçekten. Ek olarak bu işlem subdomainler içinde geçerli midir ?