Huhu!
Ich möchte auf einer Seite einen Div rechts neben dem Wrapper einfügen, er ist auch schon rechts, aber am unterem Rand, er soll aber am Content stehen, hier zu sehen:
naja... wie bekomm ich den extra div denn nun daneben?
hier meine css:
Code:
/* ____________Design____________ */
#wrapper {
width: 704px;
margin: 0px auto;
height: 100%;
clear:both;
}
#header {
width: 704px;
height: 140px;
margin: 0;
padding-bottom: 0; padding-left: 0px; padding-right: 0px; padding-top: 10px;
}
#menu {
width: 167px;
margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;
padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;
float: left;
clear: none;
}
#aboben {
width: 523px;
height: 17px;
margin: 0;
padding: 0;
float: right;
background: url(images/oben.gif);
}
#content {
width: 487px;
margin-bottom: 0; margin-left: 10px; margin-right: 0px; margin-top: 0px;
padding-bottom: 0px; padding-left: 15px; padding-right: 15px; padding-top: 0px;
background-color: #ffffff;
border-left: 3px solid #1d787f;
border-right: 3px solid #1d787f;
float: right;
}
#extra {
width: 200px;
margin-bottom: 0; margin-left: 0px; margin-right: 0px; margin-top: 0px;
padding-bottom: 0px; padding-left: 15px; padding-right: 15px; padding-top: 0px;
background-color: #ffffff;
border: 0;
float: right;
}
#abunten {
width: 523px;
height: 17px;
margin: 0;
padding: 0;
float: right;
background: url(images/unten.gif);
}
#footer {
width: 487px;
margin-bottom: 5px; margin-left: 10px; margin-right: 0px; margin-top: 0px;
padding-bottom: 5px; padding-left: 18px; padding-right: 18px; padding-top: 0px;
float: right;
}
#oben {
width: 486px;
height: 17px;
margin: 0;
padding: 0;
float: right;
}
br.leer { clear: both; }
und html:
Code:
<div id="wrapper">
<div id="header"><?php include('header.php'); ?></div>
<div id="menu"><?php include('menu.php'); ?></div>
<div id="aboben"> </div>
<div id="content">
</div>
<div id="abunten"> </div>
<div id="footer"><?php include('footer.php'); ?></div>
</div>
<br class="leer" />
<div id="extra"> Hallo </div>
Also das mit abunten is wegen abgerundeten Ecken...
Hat jemand ne Idee?