Title: bottom-border issues
Last modified: August 18, 2016

---

# bottom-border issues

 *  [GOBLUE14](https://wordpress.org/support/users/goblue14/)
 * (@goblue14)
 * [19 years ago](https://wordpress.org/support/topic/bottom-border-issues/)
 * I’m trying to get a horizontal line between posts, but “border-bottom: 1px solid#
   C2C2C2;” is placing the border above the comments for the post. I’ve checked 
   similar threads around here, and none of them have seemed to help (most notable
   adding an <hr /> tag to the post div and styling that in the CSS, which still
   put the line above the comments.
 * Here’s my div structure, the CSS for border-bottom is in the .post class as written
   above.
    ` <div id="main"> <?php if (have_posts())....blah...?> <div class="post"
   id="post-<?php the_ID(); ?>"> <h3 class="storytitle">Title/Permalink</h3> <div
   class="storycontent"> <?php the_content(__('(more...)')); ?> </div>
 *  <div class="meta">
    <p>Time/Author/Tags</p> </div> <div class="feedback"> # 
   of comments, etc. </div> </div>
 * <?php comments_template(); // Get wp-comments.php template ?>
 *  endwhile/endif PHP code here
    </div>
 * The site is at [http://www.destinationbasketball.com/index.php](http://www.destinationbasketball.com/index.php)
   using a theme mashed together from numerous others.
 * Any thoughts? Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [ryanarrowsmith](https://wordpress.org/support/users/ryanarrowsmith/)
 * (@ryanarrowsmith)
 * [19 years ago](https://wordpress.org/support/topic/bottom-border-issues/#post-565157)
 * Try something like this (or similar):
 * .meta {
    border-bottom: 1px solid #C2C2C2; clear: both; margin: 10px 0px; }
 * If that stills displays above the post, then there’s something wrong in the XHTML/
   PHP.
 *  Thread Starter [GOBLUE14](https://wordpress.org/support/users/goblue14/)
 * (@goblue14)
 * [19 years ago](https://wordpress.org/support/topic/bottom-border-issues/#post-565161)
 * Thanks! Unfortunately, for some reason it still displays below the meta data 
   and above the “# of Comments”. I got the <hr> trick to work well enough, though.
 *  [ryanarrowsmith](https://wordpress.org/support/users/ryanarrowsmith/)
 * (@ryanarrowsmith)
 * [19 years ago](https://wordpress.org/support/topic/bottom-border-issues/#post-565168)
 * I told you wrong. It should have been:
 * .feedback {
    border-bottom: 1px solid #C2C2C2; clear: both; margin: 10px 0px;}
 * The other way would have put the line above your # of comments line. Sorry!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘bottom-border issues’ is closed to new replies.

## Tags

 * [border](https://wordpress.org/support/topic-tag/border/)
 * [bottom-border](https://wordpress.org/support/topic-tag/bottom-border/)

 * 3 replies
 * 2 participants
 * Last reply from: [ryanarrowsmith](https://wordpress.org/support/users/ryanarrowsmith/)
 * Last activity: [19 years ago](https://wordpress.org/support/topic/bottom-border-issues/#post-565168)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
