Holli: Probleme mit float und liste?

Beitrag lesen

Hallo,
du hast natürlich völlig recht.

Hier die Korrektur. Aber damit funktioniert es immer noch nicht. Die Listenelemente sind immer noch ausserhalb des Containers.

...CSS
#home_floatright ul{
 display:block;
 text-decoration:none;
 color:#000;
 width:120px;
 height:20px;
 border: 1px solid #fff;
 border-width:1px 1px 0 0;
 line-height:19px;
 font-size:0.7em;
 padding-left:10px;
 list-style-image:url(../images/arrow_menue.gif)
}
#home_floatleft{
width:400px;
float:left;
}
#home_floatright{
width:150px;
float:right;
background-color:#0066FF
}
#home_clear{
clear:both;
}

<p id="home_floatleft">test Text.<br /><br />
             Beispieltext</p>
<div id="home_floatright">
<ul>
<li><a href="null">Test 1</a></li>
<li><a href="null">Test 1</a></li>
</ul>
</div>
<p id="home_clear">Beispieltext</p>