PDA

View Full Version : Position in div


theLostShirt
08-27-2006, 12:17 PM
Hello, I hope someone can help me with this.

I want to hide som information from search result pages, namely the time of posting. My sulotion is to move the date to the end of the post, but there must be a way to move it to the top of my div that contains the post.

A want to have the date posted att the top of my post but I still want it to show att the top.

<div class="post">Content text, lorum ipsum... <div class="date">21 aug 2009</div></div>

I can't get DATE to be at the top of the POST div.

BonRouge
08-27-2006, 04:44 PM
Try something like this:.post {
position:relative;
}
.date {
position:absolute;
top:-1em;
}