Support » Themes and Templates » Blockquote and validation problem

Viewing 15 replies - 1 through 15 (of 20 total)
  • When you use the

    <blockquote> tag like this, so it looks like it sort of will</blockquote>

    it really upsets stuff.

    Better to <blockquote> use it like this which looks odd when you do it but means </blockquote> that it validates.

    Odd but true 🙂

    Nope, it’s still not validating even putting everything on the same line. I don’t understand.

    Hmm, I’ve tried to understand why WP automatically adds the <p></p> when you use <blockquote>. Still, I don’t understand why this would cause a validation error.

    According to your validation results, you have some <blockquote>s that aren’t properly closed.

    Edit: Deleted as actual solution was found by someone else.

    Nuclear — what is the purpose of the added <p>‘s after the <blockquote>‘s? I’m just curious.

    BubsatSchool,

    I wish I had an answer for you. One of the coders will have to answer this question. I just accepted it as part of the inner workings of WordPress and designed around it.

    I could guess, but I would just be wasting your time by doing so.

    I just added the space as suggested by podz, or that’s what I read from his post. I’ve taken the space out and it’s still not validating.

    BubsatSchool, the blockquotes are properly closed, whcih makes the error even stranger.

    I understand it’s probably an error on my part someplace perhaps in the css, but I can’t figure out what it is.

    Lynne did you address the issue I found?

    Edit: Actual solution found by someone else.

    Are the <p>‘s AROUND the <blockquote>‘s or INSIDE the <blockquote>‘s?

    ie:

    <p><blockquote>text</blockquote></p>

    OR

    <blockquote><p>text</p></blockquote>

    When editing your post:

    Bad:
    outside <blockquote>inside</blockquote> outside

    It outputs
    <p>outside<br />
    <blockquote>inside</blockquote>
    outside
    </p>

    Good:
    outside
    <blockquote>inside</blockquote>
    outside

    It outputs
    <p>outside</p>
    <blockquote><p>inside</p></blockquote>
    <p>outside
    </p>

    And you cant have blockquotes inside ps. So put your blockquotes on new lines and everything should work out.

    So, Lynne, I guess it wasn’t the fault of WordPress after all! :0)

    Well… you can always argue WordPress should be smarter. :)

    Pardon my ignorance, be patient.

    I’m not doing anything differently on this journal than I do on my other journal, and it’s validating there using blockquote the smae way.

    http://stpaulschool.net/bulletin/index.php

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Blockquote and validation problem’ is closed to new replies.