Hab es dann jetzt so gelöst:
HTML-Code:
<!-- Put IE into quirks mode -->
<!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=utf-8" />
<title>Unbenanntes Dokument</title>
<link rel="stylesheet" type="text/css" href="ff.css" />
<!--[if IE]>
<link rel="stylesheet" type="text/css" href="ie.css" />
<![endif]-->
</head>
<body>
<div id="header"></div>
<div id="navigation">sadasad</div>
<div id="content">#</div>
<div id="footer"></div>
</body>
</html>
CSS:
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
| head,body{
margin:0;
padding:0;
width:100%;
height:100%;
}
#header{
position:absolute;
top:0;
left:0;
width:100%;
height:100px;
background:#4e4e4e url(img/black_border.gif) bottom repeat-x;
}
#navigation{
position:absolute;
left:0;
top:100px;
bottom:40px;
width:260px;
background:url(naviBg.jpg) repeat-y;
}
#footer{
position:absolute;
bottom:0;
left:0;
width:100%;
height:40px;
background:#4e4e4e url(img/black_border.gif) repeat-x;
margin:0;
}
#content{
position:absolute;
left:240px;
top:100px;
bottom:40px;
right:0;
background:#393939;
overflow:auto;
} |
IE:
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
| html,body {
height:100%;
max-height:100%;
padding:0;
margin:0;
border:0;
overflow:auto;
}
#navigation{
position:absolute;
width:240px;
height:100%;
border-top:100px solid #fff;
border-bottom:40px solid #fff;
top:0;
bottom:0;
z-index:-1;
}
#content{
top:0;
left:0;
right:0;
bottom:0;
height:100%;
max-height:100%;
width:100%;
overflow:auto;
position:absolute;
z-index:-2;
border-top:100px solid #fff;
border-bottom:50px solid #fff;
border-left:240px solid #fff;
}
#footer{
position:absolute;
margin:0;
bottom:0;
left:0;
width:100%;
height:50px;
background:#4e4e4e url(img/black_border.gif) repeat-x;
} |
Danke für deine Hilfe.