HI @ all,

habe folgendes Problem!
Habe ein Site mit komplett mit divs aufgebaut.
Haben einen ContentDiv den sich dem Browserfenster anpassen soll.
Haben unter den Content noch ein Navigation Div , die sollen sich nicht überlappen
das Problem ist das wenn ich overflow=auto einstelle scrollt er nur im Mozilla und nich im IE.
Der Content Scrollt nur wenn ich ihm eine feste Größe zuweise

hier der html code:

HTML-Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>title</title>
<link href="main_style.css" rel="stylesheet" type="text/css">
</head>

<body scroll="no">
<div id="body">
<div id="News"></div>
<div id="headnav"></div>
<div id="bottomNav"></div>
<div id="bottom"></div>
</div>
</body>
</html>
und hier das css dazu:

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
43
44
45
46
47
48
49
50
51
52
#body{
    position:absolute;
    left:0px;
    top:0px;
    width:100%;
    height:100%;
    z-index:1;
    visibility: visible;
}
#head{
    position:absolute;
    left:0px;
    top:0px;
    width:100%;
    height:60px;
    z-index:2;
    visibility: visible;
}
#headnav{
    position:absolute;
    background-color:#004D91;
    left:0px;
    top:60px;
    width:100%;
    height:25px;
    z-index:3;
    visibility: visible;
}
 
#bottom{
    position:absolute;
    background-color:#004D91;
    left:0px;
    bottom:0px;
    width:100%;
    height:25px;
    z-index:4;
    visibility: visible;
}
#News{
    position:absolute;
    left:50%;
    top:85px;
    width:900px;
    margin-left:-450px;
    z-index:5;
    visibility: visible;
    overflow: auto;
    height: 50%;
 
 
}

hat jemand einen tipp?!

greets
Loco