Kod:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>NTIWeb</title>
</head>
<style type="text/css">
body {
font: 100% Verdana, Arial, Helvetica, sans-serif;
background: #666666;
margin: 0;
padding: 0;
text-align: center;
color: #000000;
}
.mainContent{
border: 1px solid black;
margin-right:10%;
margin-left:10%;
height:80%;
width:80%;
background:#0099CC;
}
.topmenu{
width:80%;
height:24px;
margin:0 auto;
border: 1px solid #000000;
background:#FF6600
}
a.btn:visited, a.btn:link
{
text-decoration:none;
color:#000000;
font:"Courier New", Courier, "fast breddsteg";
font:bold;
padding:6px;
border-left:1px solid #000000;
border-right:1px solid #000000;
}
a.btn:hover, a.btn:active
{
background:#FF3300;
}
</style>
<body>
<!--TOPMENU-->
<div class="topmenu"><a class="btn" href=" http://www.google.se">Google</a><a class="btn" href=" http://www.google.se">Page</a></div>
<!--LEFTMENU-->
<!--mainContent-->
<div class="mainContent">
hello
</div>
</body>
</html>
Hur kan jag fixa detta?
Go ahead, make my day