Ecco il codice della mia pagina php dove ho messo il comando include ma non funziona:
<html>
<head>
<title>Titolo</title>
<style type="text/css">
body{
margin: 0;
padding: 0;
border: 0;
overflow: hidden;
height: 100%;
max-height: 100%;
}
#framecontentLeft, #framecontentRight{
position: absolute;
top: 0;
left: 0;
width: 200px;
height: 100%;
overflow: hidden; background-color: navy;
color: white;
}
#framecontentRight{
left: auto;
right: 0;
width: 150px; /*Width of right frame div*/
overflow: hidden; /*Disable scrollbars. Set to "scroll" to enable*/
background-color: navy;
color: white;
}
#maincontent{
position: fixed;
top: 0;
left: 200px; /*Set left value to WidthOfLeftFrameDiv*/
right: 150px;
bottom: 0;
overflow: auto;
background: #fff;
}
.innertube{
margin: 15px;
}
* html body{
padding: 0 150px 0 200px; }
* html #maincontent{
height: 100%;
width: 100%;
}
</style>
</head>
<body>
<div id="framecontentLeft">
<div class="innertube">
<h1>Left</h1>
<h3>Sample text here</h3>
</div>
</div>
<div id="framecontentRight">
<div class="innertube">
<h3>Sample text here</h3>
</div>
</div>
<div id="maincontent">
<div class="innertube">
<h1>Mio Sito</h1>
<?php include("http://www.google.it"); ?></p>
<</div>
</div>
</body>
</html>

Rispondi quotando