WordPress.org

Forums

CSS bug with IE7 in theme Modern Clix (5 posts)

  1. levi-levi
    Member
    Posted 5 years ago #

    Check out http://rodrigogalindez.com/themes/modern-clix/ with IE7 and IE8, you'll directly will see the difference.

    In IE7 the post-content starts after date, category and comments. In IE8 it starts at the top as it should be.

    Anyone knows how to fix this bug?

    Thanks in advance!

  2. You can try fixing your code errors: [Invalid]Markup Validation of rodrigogalindez.com themes modern-clix - W3C Markup Validator. Scroll down in the valdiation report to see line numbers and source code.

  3. levi-levi
    Member
    Posted 5 years ago #

    Hai songdogtech,

    Thanks for your reaction. I indeed can see a few <div> errors, like:

    Error Line 116, Column 11: XML Parsing Error: Opening and ending tag mismatch: p line 115 and div
    </div>

    I tried to find the errors, but just can't find the solution.
    all the openingtags <div> also have endtags </div>

  4. levi-levi
    Member
    Posted 5 years ago #

    It has to be one of these errors, but don't know how to fix it. Anyone? Thanks in advance!

    # Error Line 263, Column 24: document type does not allow element "div" here; assuming missing "li" start-tag

    <div class="section">


    # Error Line 301, Column 7: end tag for "li" omitted, but OMITTAG NO was specified

    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
    # Info Line 263, Column 3: start tag was here

    <div class="section">

  5. Look in header.php and see what the last <div> is called; everything above that is in header.php. Everything below is going to be in index, single, etc, and everything below get_footer will be in footer.

    And close tags the right way: You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">"

Topic Closed

This topic has been closed to new replies.

About this Topic