Viewing 15 replies - 1 through 15 (of 19 total)
  • Revalidate after checking the box “display source”. That way you’ll have a link to the lines that are problematic – once you see the source, you’ll be able to find the relevant lines in your files.

    Thread Starter tinarawatta

    (@tinarawatta)

    I?′ve done this.
    The problem is:
    a href="https://www.myprivateview.fotografisches.at/?p=2"> <img src='/images/heaven1.jpg' alt='Heaven1' width="800" height="600"/></a;

    The has to be removed, but I cannot find it in my code…
    I use the Blueblurry theme, as a photoblog.
    It is the code, that shows the picture on the main page.
    Thanks
    Christina

    Check your header.php then. I don’t use Blueblurry nor do I have a copy of the theme anywhere, so I really don’t know how it’s set up – but if it’s a “main page” pic and at the top, it may be in header.php.

    Thread Starter tinarawatta

    (@tinarawatta)

    No its not in the header php…
    The header.php ends with the content-div….
    I realy don?′t know where to look…
    I guess I will ask the person who had done this theme.
    Thanks,
    Christina

    I assume you have two linebreaks in your anchor tag which is interpereted by WP as paragraph… and inserts paragraph tags inside the anchor tag. Check your post.

    Thread Starter tinarawatta

    (@tinarawatta)

    <a href="https://www.myprivateview.fotografisches.at/
    ?p=2"><p><img src='/images/heaven1.jpg' alt='Heaven1' width="800" height="600"/></p>
    </a>

    thats the code there.
    And the validation tells me that there is no p-tag allowed.
    thanks
    Christina

    That’s it. Did you put the p tag manually, or when you typed/copied the text into the posting text area did you insert linebreaks in the code?

    If you put it manually – delete it!

    Thread Starter tinarawatta

    (@tinarawatta)

    There is no linebreak in the post!
    Thanks
    Christina

    Then delete the p-tags from that link. If you need them put it outside of the anchor tags.

    Thread Starter tinarawatta

    (@tinarawatta)

    But I dont know where to find the tag!
    I think its code generated, but I can?′t find the place where!
    Thanks
    Christina

    It may be auto-generated somewhere in the theme itself. You probably need to talk to the theme’s author….

    sorry !

    put tag after <div id=”content”>
    and put tag before </div>

    Thread Starter tinarawatta

    (@tinarawatta)

    No,
    does not help!
    The p-tag is still there ??
    Thanks
    Christina

    You have two issues. One, lots of whitespace (spaces and line breaks and the <p></p> tag pair) in the top of your content div. Second, you don’t have the closing </a> tag after that image. You must be editing in the right place, because the code you have there now doesn’t match what you had before. But in any case, you need to get all the white space out of that <a href></a> pair and you need to have the closing </a> tag.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Validation help required…’ is closed to new replies.