Pdf-fil på css side
Jeg har en pdf-fil, som jeg kunnetænke mig at placere på min css-side.Jeg har følgende kode:
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Ballerup Kunstforening</title>
<style type="text/css">
body {
width:750px;
margin:0 auto;
margin-top:30px;
}
#container
{
text-align: left;
margin: 0 auto;
width: 700px;
background: #FFF;
}
/* ----- HEADER ----- */
#header {
width:750px;
height:80px;
color:#FFF;
margin: 0 auto;
background: #D36832;
text-align:center;
padding: 7px 0 0 0;
}
/* FAUX LAYOUT WRAPPER */
#wrapper{
width:750px;
margin-top:0px;
}
/* ----- NAVIGATION ----- */
#nav {
width:200px;
min-height:400px; /* for modern browsers */
height:auto !important; /* for modern browsers */
height:400px; /* for IE5.x and IE6 */
background-color:#D36832;
float:left;
}
/* ----- MAIN CONTENT ----- */
#indhold {
float:left;
margin-left:220px;
width:540px;
min-height:500px; /* for modern browsers */
height:auto !important; /* for modern browsers */
height:500px; /* for IE5.x and IE6 */
background-color:#333333;
margin-top:0px;
}
</style>
</head>
<body>
<div id="header">
<h1 style="margin-left: 0px; width: 681px;">
Ballerup Kunstforening
</h1>
</div>
<div id="wrapper">
<div id="nav">
<div id="liste">
<?php include "id-liste.php";?> <!--venstre menu-->
</div>
</div>
<div id="indhold">
<?php include "aktivitetsplan2.pdf"; ?>
</div>
</div>
</body>
</html>
Hvis jeg kører dette program kommer pdf-filen under div id=indhold(som den skal) men står på "hebraisk", altså helt ulæselig med tal og bogstaver ud i et.
Jeg kunne tænke mig at pdf-filen kom til at stå i feltet uden den sidenummer-søjle der findes normalt.
Hvs dette ikke er muligt "kan jeg leve med" at få pdf-filen lagt ind i feltet.
