Problem mit Positionierung

psifactory

Erfahrenes Mitglied
Hi Leute,

folgendes Problem. Ich habe in meinem DIV ein weiteres DIV welches an die untere rechte Ecke des ersten soll. Allerdings krieg ich das irgendwie nicht richtig positioniert.

Hier mal das Ganze im Code:

HTML:
<div class="news_item">	
        	<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit loborti</p>
            <div class="news_more">
            	<a href="#">..mehr!</a>
            </div>
        </div>

Code:
.news_item {
	background:#58575C url(../img/layout/news_item_bg.gif) top right no-repeat;
	width:440px;
	height:150px;
}

.news_more {
	height:15px;
	margin-left:20px;
	position:absolute;
	width:100px;
	background-color:#99ff00;
}


LG
 
Zuletzt bearbeitet:
Oh mann.. Das mit bottom und right hatte ich schon versucht. Aber die .news_item mit postion:relative zu versehen da wär ich heut nicht mehr drauf gekommen. Aber danke nochmal ;)

LG
 
Zurück