Tak Christian
. Nu virker den i firefox men i internet explore kommer der sån en scroll ude i kanten af designet
nye kode:
***index.html***
<!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>JB-Rustfri.dk</title>
<link href="css.css" rel="stylesheet" type="text/css" />
<base target="iframe" />
</head>
<body>
<div id="box">
<div id="top"></div>
<div id="menu">Menu<br />
Menu<br />
Menu<br />
Menu<br />
Menu<br />
Menu</div>
<div id="indhold">
<iframe src="" name="iframe" width="100%" height="100%" frameborder="0" scrolling="auto"></iframe>
</div>
</div>
</body>
</html>
***css.css***
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
color: #333333;
background-color: #e0e0e0;
background-repeat: no-repeat;
text-align: left;
}
#box {
overflow: auto;
width: 720px;
border: 1px solid #d4d4d4;
background-color: #FFFFFF;
margin: 0 auto;
padding: 0px 0px 20px 0px;
}
#top {
height: 108px;
width: 688px;
margin-top: 10px;
margin-left: 20px;
margin-right: 20px;
background-image: url(images/top.jpg);
background-repeat: no-repeat;
background-position: center top;
}
#indhold {
float: right;
width: 569px;
height: 540px;
margin-left: 5px;
margin-right: 20px;
margin-top: 5px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
}
#menu {
float: left;
width: 100px;
margin-left: 20px;
height: 500px;
margin-top: 5px;
border-top-width: 1px;
border-right-width: 1px;
border-bottom-width: 1px;
border-left-width: 1px;
border-top-style: solid;
border-right-style: solid;
border-bottom-style: solid;
border-left-style: solid;
border-right-color: #CCCCCC;
}