Forum Replies Created

Viewing 1 replies (of 1 total)
  • boober’s method works for me too.
    But instead of using an <hr> tag, I use CSS to add the rule so that I can style it more freely.

    [HTML/PHP]
    <?php the_content(__(‘Read more’));?>
    <div class=”clearfloat border_bottom”></div>

    [CSS]
    .clearfloat{
    clear:both;
    }
    .border_bottom{
    border-bottom:1px #e2e2e2 solid;
    }

    *This adds a light gray thin rule below each post.
    Have it on top, dotted, thick, double, red…you can change the style as you like.

    *I am using clear:both because I have a style
    img{float:left}
    to my thumbnail images in posts.
    ‘Clearing’ brings the rule below the thumbnail image.

    >carlscape101
    <hr> is an html tag and <hr /> is an xhtml tag. In XHTML the <hr> tag must be properly closed. I’m not sure, but I think WordPress supports XHTML?

Viewing 1 replies (of 1 total)