WordPress.org

Ready to get started?Download WordPress

Forums

Content tag question (2 posts)

  1. Anonymous
    Unregistered
    Posted 10 years ago #

    Hi all,
    I am trying to do the following:
    I would like to show the author of a story stright after the story.
    ie:
    content content content content content content content content
    content content content content content content content content
    content content content content content content <b>By Simon Ward</b>
    How would I do this with the 'content' tag as just adding the 'author' tag straight after does not do this.
    Any suggestions?
    Thanks
    Simon

  2. Root
    Member
    Posted 10 years ago #

    The issue here is that a post is contained in a paragraph. As soon as that closes which it does right after the post, the browser, in accordance with the W3C specification; will drop to a new line and insert a break. It is going to be necessary to hack the index so that the authors name comes before the P tag is closed. Then it will by default display inline. HTH.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.