WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] <?php the_content(); ?> has a gap? (2 posts)

  1. Aldyn
    Member
    Posted 8 years ago #

    ~~~
    EDIT:

    nevermind! sorry i got the format plugin working, i couldnt get it before! sorryyyyy
    ~~

    Hey!

    Okay, when I'm coding my blog, and i put <?php the_content(); ?> it shows the entry's content, but like it seems that its in it's own little div thing.

    For example if i put something like:
    <?php the_date(); ?><?php the_date(); ?>

    (putting it twice without any gaps)

    it will show up as

    December 12 2005December 12 2005

    (running the two together with no gaps)

    BUT if i put something like

    <?php the_content(); ?><?php the_content(); ?>

    it makes it look like

    hello this is my post

    hello this is my post

    (it puts like an unselectable gap in between instead of putting it right up against the other)

    It's not anything to do with my css, because it does the same thign on a plain standard CSSless page.

    Is there a way I can get rid of this gap? It's putting a big gap in between my date and my content and my comments

  2. Austin Matzko
    Member
    Posted 8 years ago #

    Do you have a link to a sample page, or can you post some of the markup?
    For there to be a "gap," there must be something appearing in the html, such as <br /> or <p> tags, which might be part of the content of your posts.

Topic Closed

This topic has been closed to new replies.

About this Topic