w3c validation problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Margarethe
    New Member
    • Jul 2011
    • 2

    w3c validation problem

    Hi guys! I need some help with my site. I've tried to validate my website and kept getting 4 errors with one line. Not really sure what I'm doing wrong as I've closed all open tags. Here is the error I get: "end tag for "div" omitted, but OMITTAG NO was specified"

    Validation Output: 4 Errors

    Error Line 192, Column 61: end tag for "div" omitted, but OMITTAG NO was specified

    <script type="text/javascript"> Cufon.now(); </script></body>



    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 177, Column 5: start tag was here

    <div class="content" >

    Error Line 192, Column 61: end tag for "div" omitted, but OMITTAG NO was specified

    <script type="text/javascript"> Cufon.now(); </script></body>



    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 175, Column 1: start tag was here

    <div id="footer">

    Error Line 192, Column 61: end tag for "div" omitted, but OMITTAG NO was specified

    <script type="text/javascript"> Cufon.now(); </script></body>



    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 100, Column 5: start tag was here

    <div class="content" >

    Error Line 192, Column 61: end tag for "div" omitted, but OMITTAG NO was specified

    <script type="text/javascript"> Cufon.now(); </script></body>



    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 98, Column 1: start tag was here

    <div id="teaser">
    Would appreciate any help. Thanks!
    Last edited by Niheel; Aug 1 '11, 02:27 AM.
  • ilya Kraft
    New Member
    • Jan 2011
    • 134

    #2
    you didn't close this div

    Code:
    [B]<div class="content">[/B] ...stuff goes here [B][U]</div>[/U][/B]
    not sure about other problem, maybe it is caused by this

    Comment

    • Margarethe
      New Member
      • Jul 2011
      • 2

      #3
      I've added </div> 4 times before </html> and it solved the problem. Thanks! :)

      Comment

      Working...