Help with spacing

Discussion in 'HTML & Website Design' started by blokman, Feb 2, 2009.

  1. #1
    I want the comments (reviews) on my 'blog' to look a bit nice, with proper spacing in between lines, as opposed to the text simply being pushed to the next line.

    The reviews are here - http://www.yournetbookreviews.com/acer-aspire-one/

    it looks a bit ...stuffy, and doesnt flow well. Does anyone know what I would have to change? I have looked in comments.php in my wordpress theme, and found this:

    	<ol class="commentlist">
    
    	<?php foreach ($comments as $comment) : ?>
    
    		<li class="<?php echo $oddcomment; ?>" id="comment-<?php comment_ID() ?>">
    			<div style="border-bottom: 1px solid #ccc; padding-bottom: 2px">
    				<?php comment_author_link() ?> wrote on <?php comment_date('F jS, Y'); ?>:
    			</div>
    			
    			<?php if ($comment->comment_approved == '0') : ?>
    				<em>Your comment is awaiting moderation.</em>
    			<?php endif; ?>
    			
    			<br />
    			
    			<?php if (function_exists('comment_ratings_table')): ?>
    				<div style="float: left; margin: 0 10px 10px 0">
    					<?php comment_ratings_table(); ?>
    				</div>
    			<?php endif; ?>
    			
    			<?php comment_text() ?>
    			
    		</li>
    
    	<?php /* Changes every other comment to a different class */	
    		if ('alt' == $oddcomment) $oddcomment = '';
    		else $oddcomment = 'alt';
    	?>
    
    	<?php endforeach; /* end for each comment */ ?>
    
    	</ol>
    Code (markup):
    I don't know what to change in this though. Something in the style sheet perhaps?

    Help appreciated :) Thanks!
     
    blokman, Feb 2, 2009 IP
  2. eViSeRaTe

    eViSeRaTe Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, you will need to edit the stylesheet. The code you posted above just show us the token Wordpress is using to insert the comment text (<?php comment_text() ?>).

    This file would need to be edited if you wanted to change the layout of the page.
     
    eViSeRaTe, Feb 2, 2009 IP