• mirell

    (@mirell)


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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter mirell

    (@mirell)

    and even. Let’s read the comment “Put code between backticks” next time, shall we Mark.

    NuclearMoose

    (@nuclearmoose)

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

    Thread Starter mirell

    (@mirell)

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

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

    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

    You could use an image as a divider ?

    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.

    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 .

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

    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.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Using <hr /> Tags’ is closed to new replies.