wachteldonk
Erfahrenes Mitglied
Hallo,
ich versuch jetzt seit einer Ewigkeit divs mit scrollbalken auf die richtige Höhe zu bringen aber es will nicht klappen. Auf dem beiliegenden Screenshot habe ich die Probleme markiert und hier der Code. Hat jemand eine Problemlösung?
ich versuch jetzt seit einer Ewigkeit divs mit scrollbalken auf die richtige Höhe zu bringen aber es will nicht klappen. Auf dem beiliegenden Screenshot habe ich die Probleme markiert und hier der Code. Hat jemand eine Problemlösung?
Code:
<!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>
<title>teste 3.0</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
margin: 0;
font-family:Arial, Verdana;
font-size: 13px;
color:black;
background-color: #FFFFFF;
}
.NavigationFrame {
position:fixed;
width:100%;
height:30px;
left:0;
top: 0;
z-index:1000;
background-color:#bbbbbb;
}
.ContentFrame {
background-color:#cccccc;
position:fixed;
width:100%;
height:100%;
top: 30px;
right: 0px;
left: 0px;
bottom: 26px;
}
.FooterFrame {
position:fixed;
width:100%;
height:26px;
bottom: 0px;
left: 0;
background-color:#cccccc;
background-image:url(includes/templates/standard/images/background_footer.png);
background-repeat:repeat-x;
}
.Footertext {
width:100%;
height:26px;
background-image:url(includes/templates/standard/images/footertext.png);
background-repeat:no-repeat;
background-position:right;
bottom:0px;
left:0px;
}
/* Einzene Elemente */
.ListObject {
width:30%;
float:left;
position:fixed;
top: 30px;
right: 0px;
left: 0px;
bottom: 26px;
}
.ListInnerObject {
overflow:auto;
background-color:white;
height:100%;
border: 2px solid black;
border-style:inset;
padding:2px 4px 2px 4px;
margin: 2px 0px 2px 4px;
}
.ContentObject {
width:70%;
position:fixed;
top:30px;
left:30%;
bottom:26px;
}
.ContentInnerObject {
overflow:auto;
background-color:white;
border: 2px solid black;
height:100%;
border-style:inset;
padding:2px 4px 2px 4px;
margin: 2px 0px 2px 4px;
}
/* Navigation */
ul#Navigation .Logo {
background-image:url(includes/templates/standard/images/logo.png);
background-repeat:no-repeat;
width:130px;
height:30px;
}
ul#Navigation .Logo:hover {
background-color:transparent;
}
ul#Navigation {
text-align: center;
z-index:1000;
width: 100%;
margin: 0;
padding: 0;
min-height:30px;
height:30px;
color:white;
background-color:#cccccc;
background-image:url(includes/templates/standard/images/menubackground.png);
background-repeat:repeat-x;
}
ul#Navigation li {
z-index:1000;
list-style: none;
float: left;
display:block;
position:relative;
margin:0px;
padding: 5px 10px 5px 10px;
overflow:visible;
cursor:pointer;
color:white;
text-align:left;
}
ul#Navigation li ul {
z-index:1000;
margin: 0;
padding: 0;
position: absolute;
display: none;
width:100%;
top:26px;
left:-1px;
border:1px solid white;
}
ul#Navigation li ul li {
z-index:1000;
float: none;
display: block;
margin:0;
padding: 3px 10px 3px 10px;
background-color:#E40303;
cursor:pointer;
border-top: 1px solid white;
}
ul#Navigation li:hover {
z-index:1000;
background-color:white;
color:black;
}
ul#Navigation li:hover ul {
z-index:1000;
display: block;
}
ul#Navigation a {
z-index:1000;
text-decoration: none;
color: white;
display:block;
}
/* Links */
a{
color:black;
text-decoration:none;
}
a:hover {
text-decoration:underline;
}
-->
</style>
</head>
<body>
<div class="NavigationFrame" id="NavigationFrame">
<ul id="Navigation">
<li class="Logo">
</li>
<li onClick="document.location.href='http://www.test.de'">Hilfe
<ul style="width:160px;">
<li onClick="document.location.href='http://www.test.de'">Hilfreiche Links</li>
<li onClick="document.location.href='http://www.test.de'">Zur Homepage</li>
<li onClick="document.location.href='http://www.test.de'">Über</li>
</ul>
</li>
<li onClick="document.location.href='http://www.test.de'">Abmelden
<ul style="width:140px;">
<li onClick="document.location.href='http://www.test.de'">Abmelden / Logout</li>
</ul>
</li>
</ul>
</div>
<div class="ContentFrame" id="ContentFrame">
<div class="MainContent" ID="MainContent">
<div class="ListObject" ID="ListFrame">
<div class="ListInnerObject">
Liste<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile7<br />
Zeile8<br />
Zeile9<br />
Zeile10<br />
Zeile11<br />
</div>
</div>
<div class="ContentObject" ID="ContentFrame">
<div class="ContentInnerObject">
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
Zeile1<br />
Zeile2<br>
Zeile3<br />
Zeile4<br />
Zeile5<br>
Zeile6<br />
</div>
</div>
</div>
</div>
<div class="FooterFrame" id="FooterFrame">
<div class="Footertext" id="Footertext"></div>
</div>
</body>
</html>
Anhänge
Zuletzt bearbeitet: