Support » Themes and Templates » Page content wont stay in div

Viewing 4 replies - 1 through 4 (of 4 total)
  • You need to clarify. I don’t know if it’s breaking on the X axis or the Y axis. What’s the URL of the problem page?

    You want to display in <div id=”content”> ?

    Jorge,

    Sadly I am displaying my site in the browser using localhost so I can not send you the URL. I believe the issue lies within the <div id=entry-content></div>. The content goes in one strait line to the right and does not break properly when it hits the set width of the div.

    <div class="entry-content">
    <?php the_content( __( 'Continue reading <span class="meta-nav">&raquo;</span>', 'your-theme' )  ); ?>
    <?php wp_link_pages('before=<div class="page-link">' . __( 'Pages:', 'your-theme' ) . '&after=</div>') ?>
                                            </div><!-- .entry-content -->

    The content goes in one strait line to the right and does not break properly when it hits the set width of the div

    As it is the content then it is likeky to be unclosed html tags in the post content, or content pasted from MS Word

    Test:
    Create a new post, get five paragraphs of Lorem Ipsum save and view, if this does not overflow, then it is the other posts content that is the problem.

    EDIT:
    Just found this topic from today about the line height 🙂

    HTH

    David

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page content wont stay in div’ is closed to new replies.