Viewing 4 replies - 1 through 4 (of 4 total)
  • fix your errors – especially the tag problems

    Thread Starter simona71

    (@simona71)

    … wow!!..

    I’ve been reading about other people having the similar problem. I’m almost there but I’m having trouble finding out the way to fix error
    line 287end tag for “div” omitted, but OMITTAG NO was specified

    I’m not really sure where I’m supposed to look for the unclosed div tags. Is it in the single.php ? Could the container div tag have anything to do with this?

    Thanks a lot for your help.

    Hi Simona71,

    you added an additional

    <div id="post-227" class="post">
    <div id="post-227" class="hentry post">

    whereas the one you added is not closed properly.

    This causes
    1) a problem with the W3 validator and
    2) the problem with the misalignment of the sidebar and footer.

    As I don’t know if the link you provided is an entry or a page, please check both

    single.php AND page.php for the occurance of

    <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    in single.php

    and
    <div class="hentry post" id="post-<?php the_ID(); ?>">
    in page.php

    Best, Cordobo

    Thread Starter simona71

    (@simona71)

    Hello Cordobo,
    Thanks a lot. Problem solved. (The link I provided was a page. Did you mean delete that line in page.php? = <div class=”hentry post” id=”post-<?php the_ID(); ?>”> Well, that’s what I did, and it went o.k…. Hope that’s it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Why is there a huge gap in the right side bar of my page?’ is closed to new replies.