Viewing 15 replies - 1 through 15 (of 25 total)
  • For starters, you have TWO </head> tags.

    Whats the mystery? Start at the top, and fix the problems 1 by 1. Validation errors are often the cause of something going on above the actual error. In other words, NOT having 2 closing </head> tags will help immensely, and will undoubtedly fix some things below it.

    Thread Starter kernkraft

    (@kernkraft)

    thank you sir! I’ll start on that right away and keep you posted on my progress

    quick question… which file is it in! lol because column 6 doesn’t really help me locate it.

    Thread Starter kernkraft

    (@kernkraft)

    would make sense that it’s in header.php lol… sorry late night econ work post gym workout has me a little brain-wrecked right now.

    She won’t help you anymore if you call her “sir”… LOL

    As for your question: on the validation page every error line is a clickable link that takes you tot he error in your source code. “Columns”:
    1st character = column 1
    2nd character = column 2 etc.

    Thread Starter kernkraft

    (@kernkraft)

    down to 15 errors… was at 14, but I forget what I did to add another error…

    Having trouble figuring out the <p><p> errors. I know they’re posts, but i look in the code of the posts and I don’t see any of those tags.

    Thread Starter kernkraft

    (@kernkraft)

    thanks rudolf… and my sincerest apologies to ms. whooami… it’s hard to figure out gender from forum screen names sometimes ??

    <p> tags are added by WP in your posts, normally in this way:
    hit Enter 1x = br
    hit Enter 2x = p

    However, it doesn’t work perfectly, especially if you use the wysiwyg/RTE editor. Which you did, unfortunately. That always adds a lot of crappy code. If you want clean code – disable it.

    Thread Starter kernkraft

    (@kernkraft)

    Yeah, how would I go about disabling it?

    Also, here’s my next question:

    I’ve got the following code:

    <!– begin footer –>

    <div class=”footer”>

    Copyright © Adam Kovacs – Waste of Space Advertising 2007

    </div>

    <?php wp_footer(); ?>

    </body>
    </html>

    The validation errors point to the two closing tags as errors above … but when I remove them… instead of removing two errors, two more are added: #’s 17-21 on the validation page… ugh

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Re: the footer issue:
    It’s complaining because the content div was never closed. You need to add another </div> somewhere to close that content div. Error #18 is telling you where the beginning of the div is that causes error #17.

    admin > Users > Your profile

    Actually, the error message says you need another </div> closing tag before the body tag.

    Edit. And as Otto said: the exact location of the tag might be somewhere else…

    Thread Starter kernkraft

    (@kernkraft)

    So thanks fellas (and ladies) for the help. I really appreciate it. I’m down to 10 validation errors… 7 of them are <p> errors in posts… something that I can’t fix despite the adjustment in my profile but it’s not something I’m worried about.

    The last 3 are strange header errors that I don’t quite understand.

    And finally, when I fixed the <div> issue by adding another </div> to the index.php file… it fixed the validation error, but if you look at my page through firefox now… the header and footer are all sorts of screwed up. I’m going to try something and let you know how it goes.

    Thread Starter kernkraft

    (@kernkraft)

    sweet it worked… I just put the closing </div> tag at the bottom of footer.php before the closing body and html tags.

    Now onto these crazy header validation errors (3 of them).

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    Your P problems seem to be caused by having a <p> and </p> around the_content() in your loop. You don’t need them there, WordPress adds the necessary P’s on its own.

    Thread Starter kernkraft

    (@kernkraft)

    I didn’t add them there… and I have no idea how to get rid of them. Someone suggested disabling the visual code editor for wp, but that didn’t get rid of them.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    No, no, you misunderstand.

    Around your content, there is an extra set of <P>…</P> tags. These appear to be in your theme, not in the content itself.

    So in your theme, there’s likely code like this:

    <p>
    <?php the_content(); ?>
    </p>

    Or something similar. Those P’s there are the problem. Remove them. You don’t need them.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘No issues w/Firefox; Tons of issues w/IE 6&7’ is closed to new replies.