hallo zusammen!
der internet-explorer macht mich als css-neuling völlich feddich.
unter
findet sich eine seite, die im firefox genau so angezeigt wird, wie gewünscht: der umpunktete contentbereich passt sich der fenstergröße an, enthält scrollbalken und wird von der fussleiste "verfolgt".
im explorer geht der contentbereich rechts und unten aus dem fenster raus. ich verzweifle daran, es beiden browsern recht zu machen.
hoffentlich findet jemand von euch eine lösung für mich.
hier die css:
html, body {
min-height: 100%;
width: 100%;
height: 100%;
}
html>body {
height: auto;
}
* html, body {
overflow:hidden;
}
.hg {
clear: both;
float: right;
width: 100%;
height: 100%;
z-index: 1;
visibility: visible;
}
.nameoben img, .kontaktunten img {
float:right;
}
.obenorange {
background-image: url(../gif/orangeobenhg.gif);
background-repeat: repeat-x;
position: absolute;
float: left;
height: 74px;
width: 200px;
top: 0;
left: 0;
z-index: 22;
visibility: visible;
}
.obengrau {
background-image: url(../gif/grauobenhg.gif);
background-repeat: repeat-x;
position: absolute;
height: 74px;
width: 100%;
top: 0;
right: 0;
z-index: 21;
visibility: visible;
clear: both
}
.nameoben {
position: absolute;
height: 41px;
top: 19px;
left: 0;
bottom: 0;
z-index: 40;
visibility: visible;
padding-right: 40px;
padding-left: 220px;
}
.navi {
background-color: white;
position: absolute;
width: 200px;
left: 0;
top: 74px;
z-index: 50;
overflow: hidden;
clip: rect(auto auto auto auto);
visibility: visible;
}
.untenorange {
clear: both;
background-color: #f93;
height: 26px;
width: 200px;
position: absolute;
bottom: 0;
z-index: 10;
visibility: visible;
}
.untengrau {
background-color: #999;
height: 26px;
width: 100%;
z-index: 5;
position: absolute;
left: 0;
bottom: 0;
visibility: visible;
}
.contenthg {
position: absolute;
top: 0;
left: 0;
height: 100%;
padding-left: 200px;
z-index: 1;
}
.kontaktunten {
height: 17px;
position: absolute;
bottom: 0;
z-index: 20;
visibility: visible;
padding-right: 40px;
padding-left: 220px;
}
.contentmain {
position: absolute;
right: 40px;
left: 240px;
top: 95px;
bottom: 95px;
z-index: 46;
padding-right: 40px;
padding-bottom: 100px;
}
.maintext {
position: inherit;
height: 100%;
width: 100%;
border: dotted 1px #f93;
overflow: auto;
z-index: 46;
}
und hier das html:
<DOCTYPE>
<html>
<head>
<meta>
<link>
<style><obenorange></style>
<csscriptdict>
<script></script>
</csscriptdict>
<csactiondict>
<script><var></script>
</csactiondict>
</head>
<body>
<div>
<a><img></a></div>
<div></div>
<div></div>
<div>
<div>
<div>
<a><img></a></div>
<div>
<a><img></a></div>
<div>
<a><img></a></div>
<div>
<a><img></a></div>
<div>
<a><img></a></div>
</div>
</div>
<div>
<div> <img></div>
</div>
<div>
<div>
<p>d
d<br></br>
d<br></br>
d<br></br>
d<br></br>
d<br></br>
d<br></br>
d<br></br>
d<br></br>
d<br></br>
<br></br>
d
ddddddddddddddddddddddddddddddddddddddddddddddddddddddd<br></br>
d<br></br>
d<br></br>
d<br></br>
d<br></br>
d<br></br>
d<br></br>
d<br></br>
d<br></br>
d<br></br>
d<br></br>
d<br></br>
<br></br>
d
d<br></br>
d<br></br>
d<br></br>
</p>
</div>
</div>
<div></div>
<div>
<img></div>
<div></div>
</body>
</html>
