WordPress.org

Ready to get started?Download WordPress

Forums

Using <hr /> Tags (11 posts)

  1. mirell
    Member
    Posted 10 years ago #

    How can one use an <hr /> tag without it being wrapped by and , therefore rendering it invalid XHTML 1.0?

  2. mirell
    Member
    Posted 10 years ago #

    and even. Let's read the comment "Put code between backticks" next time, shall we Mark.

  3. NuclearMoose
    Member
    Posted 10 years ago #

    Mark,
    Are you talking about using them in a post, or as part of your page mark-up?
    Craig

  4. mirell
    Member
    Posted 10 years ago #

    Using them in an actual post. Editing the template is easy.

  5. electrolund
    Member
    Posted 9 years ago #

    I'd like to know this too, for validation purposes. Is there a more elegant way of getting horizontal separation that validates?

  6. Joshua Sigar
    Member
    Posted 9 years ago #

    Are you saying that the <hr /> is wrapped by <p></p> tags. If so you might want to use the following plugins, but then you have to code all <p> tags for your posts manually.
    http://dev.wp-plugins.org/wiki/TextControl

  7. Mark (podz)
    Support Maven
    Posted 9 years ago #

    You could use an image as a divider ?

  8. Yngwin
    Member
    Posted 9 years ago #

    Podz going retro? No, let's not go back to spacer images, that's so last century. Spacing and horizontal seperation are presentation matters and therefore should be handled by CSS.

  9. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Heh ... I didn't mean spacer images :)

    Rather than a boring ___________________ it's possible instead to use a custom image - and still handled by css .

  10. Jonathan Dingman
    Member
    Posted 9 years ago #

    I've always used <hr /> and it's never been wrapped by a . are you something else than just using <hr /> in the text?

  11. Yngwin
    Member
    Posted 9 years ago #

    podz - you're right there, an image can of course be used to make a nice border/division and of course this should be handled by CSS.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.