Har fjernet alt php fra din html fil, det kan du selv prøve at sætte ind igen, når vi har fået det til at virke...
men prøv med denne html 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>test</title>
<link href="css/css.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
<div class="ramme">
<div id="top"><div class="banner"><img src="images/bannercopy.jpg" width="468" height="60" /></div>
</div>
<div id="login">
<form action='?page=login' method='post' />
<span style='font-size:11px;'>Login ||</span>
Brugernavn:
<input type='text' name='username' class='input' size='10' />
Kodeord:
<input type='password' name='password' class='input' size='10' />
<input type='submit' name='login' class='input' value='Log ind' />
<a href='?page=register' class='links'>Opret Bruger</a>
</form>
</div>
<div class="contenleft">
<div class="venstremenu">
<div id="menuimage">Generelt</div>
</div>
<table width="100" border="0">
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<br />
<div class="venstremenu">
<div id="menuimage">News Kategorier</div>
<table width="100" border="0">
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
<br />
</div>
</div>
<div id="middle">
<p><br />
<br />
</p>
</div>
<div class="contenright">
<div class="højremenu">
<div id="menuimage">Seneste indlæg</div>
<br />
</div>
</div><br />
<br /><br />
<br /><br />
<div class="contenright">
<div id="menuimage">Nyeste Brugere</div>
</div>
</div>
</div>
</body>
</html>
og dette som css
html, body {
margin:0px;
padding:0px;
height:100%;
display: block;
}
body {
background-image:url('../images/bg.jpg');
background-repeat:repeat;
font-family:Verdana;
font-size:11px;
}
.ramme, td {
border-bottom-width: 1px;
border-bottom-style: dotted;
border-bottom-color: #CCCCCC;
}
.ramme{
position: absolute;
text-align: left;
left: 50%;
margin-left: -401px;
height: auto;
width: 800px;
background-color:#FFF;
border-right-width: 1px;
border-left-width: 1px;
border-right-style: solid;
border-left-style: solid;
border-right-color: #5d5d5d;
border-left-color: #5d5d5d;
}
#top {
width:800px;
height:160px;
margin-right: auto;
margin-left: auto;
background-image: url(../images/logo.jpg);
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #23627f;
}
.contenleft {
width:auto;
height:auto;
float:left;
margin-left:5px;
}
.contenright {
width:96px;
height:auto;
margin-right:5px;
padding:0;
float:right;
border:1px solid #23627f;
}
.venstremenu {
font-family:Tahoma;
font-size:11px;
color:#000;
width: 96px;
}
.højremenu {
font-family:Tahoma;
font-size:11px;
color:#000;
width: 96px;
}
.menu_white {
background-color:#FFFFFF;
height:auto;
}
#menuimage {
background-image:url('../images/menu_image.jpg');
background-repeat:no-repeat;
font-family:Impact;
font-size:13px;
color:#FFF;
text-decoration:none;
width: 96px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #23627F;
}
#middle {
float:left;
width:545px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
margin-left: 25px;
padding: 0px;
background-color:#FFFFFF;
}
#login {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 9px;
color: #006699;
float: none;
height: 20px;
width: 800px;
margin-bottom: 10px;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #23627F;
padding-top: 5px;
}
.input {
background-color:#EAEAEA;
color:#000000;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:10px;
border:1px solid #CCCCCC;
}
.banner {
width:468px;
border:0px;
height:60px;
position:absolute;
top: 50px;
}
a.links {
text-decoration:none;
color:#006699;
}
a:active.links {
color:#000000;
}
a:hover.links {
text-decoration:underline;
color:#000000;
}
a.admin {
text-decoration:underline;
color:#000000;
}
a:active.admin {
text-decoration:none;
color:#000000;
}
a:hover.admin {
text-decoration:underline;
color: #006699;
}
Ved mig virker dette i hvert fald...