View Single Post
Old 11-18-2011, 10:34 AM   PM User | #1
epxine
New Coder

 
Join Date: Nov 2011
Posts: 27
Thanks: 7
Thanked 0 Times in 0 Posts
epxine has a little shameless behaviour in the past
Problems with News Positioning


As you se on the picture it dosn't look good, and i want the author/date/comments on the bottom right news-footer

news-content.php
PHP Code:

<div id="post_bg">


<img src="images/admin_icon.png" width="90px" height="90px" id="post_img">
<a href="#"><label class="post_title"><?php
    
echo $row['topic_title'];

?></a></label>
<br />
<p class="post_text"><font size="-1" face="Times New Roman, Times, serif"><?php
    
echo $row['topic_content'];
 
?> <br /><br /></p></font>
<label class="post_author">Posted by <a href="#"><?php
    
echo $row['topic_author'];

?></a> <?php
    
echo $row['topic_date'];
 
?> <a href="<?php
    
echo $row['topic_url']; ?>">Comments</a> (<?php
    
echo $row['topic_comments'];

?>)</label></font>

</div>
</div>
Style Sheet
Code:
#post_bg {
	background-image:url('images/post_bg.jpg');	
	width:609px;
	height:255px;
	margin-bottom:10px;
	background-repeat:no-repeat;
	padding-left: 5px;
	padding-top: 10px;
}
epxine is offline   Reply With Quote