Přidat otázku mezi oblíbenéZasílat nové odpovědi e-mailem Pozice divu ve stránce

Jsem tam odstranil chyby. </head> musíš mít až před <body>

<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN' 'http://www.w3.org/TR/html4/loose.dtd'>

<html>
<head>
	<title>Sample CKEditor Site</title>
	

<script type="text/javascript">

function hide() {
document.getElementById('map').style.display = 'none';
document.getElementById('map').style.position = 'relative';	
	//alert(window.innerHeight+"x"+window.innerWidth);
}

function showDocument(path) {
	
document.getElementById('map').style.display = '';
document.getElementById('map').height = window.innerHeight-100;	
document.getElementById('pdfviewer').height = (window.innerHeight-300);	
document.getElementById('map').style.position = 'absolute';
}	

</script>

<style type="text/css">
#map {
     width: 710px;
     height: 710px;
     background-color: darkred;
     position: fixed;    
     }

form {
width: 130px;
height: 50px;
float: left;
margin: 10px;
border: 1px solid red; /*abych tě viděl - pak smažu*/
}
</style>

</head>
<body>
	<form action="zpracovani-formulare.php" method="post">
		<p>
			My Editor:<br />
			
			<input type="button" value="hodnota" onClick="odeslat(); ">
		</p>
		
	
   
   
<input type="button" value="crc" onClick="changeSrc()" ><br />

<input type="button" value="show" onClick='showDocument("")' > 

</form>
    <div id="map"></div>
</body>
</html>

Reakce na odpověď

1 Zadajte svou přezdívku:
2 Napište svou odpověď:
3 Pokud chcete dostat ban, zadejte libovolný text:

Zpět do poradny