Web Analytics Made Easy -
StatCounter last 4 html errors end in sight - CodingForum

Announcement

Collapse
No announcement yet.

last 4 html errors end in sight

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • last 4 html errors end in sight

    hi im down to my last 4 html errors on my template the css validates now so no problem there any way to the point here are the errors.


    Error Line 8 column 236: character data is not allowed here.
    ...ion><LINK href="style.css" type=text/css rel=stylesheet>
    You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).


    Error Line 31 column 8: end tag for element "SCRIPT" which is not open.
    </SCRIPT>
    The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.

    Error Line 36 column 10: character data is not allowed here.
    <NOSCRIPT>Your browser does not support script</NOSCRIPT>

    Error Line 36 column 56: end tag for "NOSCRIPT" which is not finished.
    <NOSCRIPT>Your browser does not support script</NOSCRIPT>
    Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

    Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.




    here is the page link to view source
    http://www.home-of-poker.com/TEST.htm


    this is the css if needed

    /* CSS Document */

    body {
    background:#fff;
    font:.8em sans-serif;
    color:#000000;
    }

    /*
    * Container surrounding all content on the page
    */
    .fw-container {
    margin-left: auto;
    margin-right: auto;
    padding: 1em;
    width:95%;
    background: #fff;color:#000;
    }
    a {
    color: #ff00ff;
    background-color:inherit;

    }

    a:hover {
    color: #000099;
    background-color:inherit;

    }

    /*
    * Container surrounding Site Title, Small Title, and Logo
    */
    .fw-head {
    border-bottom:1px solid #556B2F;
    }

    /*
    * Site Title
    */
    .fw-head h1 {
    font:normal 1.5em georgia,serif;
    margin-bottom: 1px;
    font-weight:bold;
    text-align: center;

    }

    /*
    * Site Small Title
    */
    .fw-head h3 {
    margin: 0;
    font-weight: bold;
    color: #000;
    background-color:inherit;
    text-align: center;

    }
    .fw-logo img {
    width:100%;
    height:380px;
    display: block;
    }

    .fw-nav-menu hr {
    display:none;
    }
    .fw-footer hr {
    display:none;
    }

    /*
    * NavBar
    * UL containing all the NavBar links
    */
    .fw-nav-menu ul {
    margin:10px 0;
    padding:5px;
    border:1px solid #DDD;
    background: #fff;color:#000;
    list-style:none;
    text-align:center;
    }


    /*
    * Individual NavBar LI's
    */
    .fw-nav-menu li {
    display:inline;
    margin:0 5px;
    }

    /*
    * Individual NavBar links
    */
    .fw-nav-menu a {
    text-decoration:none;
    }

    /*
    * This is the container that holds the main content (paragraphs) of the page.
    */
    .fw-content {

    }

    /*
    * Paragraph title
    */
    .fw-paragraph h2 {
    font: normal 1.8em georgia,serif;
    margin-bottom: 2px;
    text-align: center;
    font-weight:bold;
    color: #000;
    background-color:inherit;
    }
    .fw-paragraph h4 {
    font: normal 1.2em georgia,serif;
    margin-bottom: 2px;
    text-align: center;
    font-weight:bold;
    color: #000000;
    background-color:inherit;
    }
    .fw-paragraph h5 {
    font: normal 1.2em georgia,serif;
    margin-bottom: 2px;
    text-align: center;
    font-weight:bold;
    color: #000000;
    background-color:inherit;
    }
    /*
    * Paragraph body
    */
    .fw-paragraph-body {
    padding-bottom: 2px;
    margin-bottom: 30px;
    border-bottom: 1px solid #ccc;
    }

    p {
    margin-top: 5px;
    margin-bottom: 15px;
    }

    /*
    * Site Footer
    */
    .fw-footer {
    clear: both;
    font-size: .7em;
    text-align: center;
    font-weight:bold;
    }

    /*
    * All elements on form pages are surrounded by
    * a SPAN with class="formSpan"
    */
    .formSpan {
    display:block;
    margin-bottom:8px;
    }
    /* begin styles for RSS Feed */

    .rss-box {
    margin: 1em;
    width: 150px;
    border: 1px solid silver;
    background-color: #000;
    color: #cccccc;
    }
    .rss-items {
    margin-top:0px;
    padding: 0.5em;
    margin-left:0px;
    color: #cccccc;
    background-color: #000;
    }
    p.rss-title {padding: 0.5em;}
    .rss-title {
    font-size: 8pt;
    background-color: #002;
    color: lime;
    font-weight:bold;
    text-align: center;
    }

    .rss-item {
    font-size: 7pt;
    list-style:none;
    padding-bottom:1em;
    }

    .rss-item a {
    color: #006400;
    font-size: 9pt;
    font-weight:bold;
    background-color: inherit;
    }

    .rss-item a:visited {
    color: #FFFFFF;
    background: #000;
    }

    .rss-date {
    font-size: 7pt;
    color: #FFFFFF;
    background: #001;
    }

    /* buttons modeled from http://www.wellstyled.com/css-inline-buttons.html */

    .pod-play {
    width:12em;
    margin: 0;
    padding: 0.1em ;
    padding: 0;

    white-space:nowrap;
    text-decoration: none;
    vertical-align:middle;
    background: #fb6;
    color: #000;
    }
    .pod-play em {
    width: 1em; cursor: auto;
    font-style: normal;
    margin:0; padding: 0.1em 0.5em;
    background: #ffffff;
    color: #222;
    }
    .pod-play span {
    width: 1em; cursor: auto;
    margin:0; padding: 0.1em 0.5em 0.1em 0.3em;
    }
    .pod-play:hover {
    background: #666;
    color: #fff;
    }
    .pod-play:hover em {
    background: #000;
    color: #fff;
    }
    body {
    color:#333;
    background :#ffffff;
    margin:20px;
    padding:0px;
    font:11px verdana, arial, helvetica, sans-serif;
    }
    h1 {
    margin:0px 0px 15px 0px;
    padding:0px;
    font-size:28px;
    font-weight:900;
    color:#003;
    background: #fff;
    }
    h2 {
    font:bold 12px/14px verdana, arial, helvetica, sans-serif;
    margin:0px 0px 5px 0px;
    padding:0px;
    }
    p {
    font:11px/20px verdana, arial, helvetica, sans-serif;
    margin:0px;
    padding:0px;
    }
    .Content>p {margin:0px;}
    .Content>p+p {text-indent:30px;}

    a {
    color:#09c;
    font-size:11px;
    font-family:verdana, arial, helvetica, sans-serif;
    font-weight:600;
    text-decoration:none;
    }

    /* All the content boxes belong to the content class. */
    .content {
    position:relative; /* Position is declared "relative" to gain control of stacking order (z-index). */
    width:auto;
    min-width:120px;
    margin:0px 210px 20px 170px;
    border:0px solid black;
    background :#ffffff;
    padding:10px;
    z-index:3; /* This allows the content to overlap the right menu in narrow windows in good browsers. */
    }

    #navAlpha {
    position:absolute;
    width:150px;
    top:542px;
    left:38px;
    border:0px solid black;
    background-color:#fff;
    padding:10px;
    z-index:2;

    /* Here is the ugly brilliant hack that protects IE5/Win from its own stupidity.
    Thanks to Tantek Celik for the hack and to Eric Costello for publicizing it.
    IE5/Win incorrectly parses the "\"}"" value, prematurely closing the style
    declaration. The incorrect IE5/Win value is above, while the correct value is
    below. See http://glish.com/css/hacks.asp for details. */
    voice-family: "\"}\"";
    voice-family:inherit;
    width:128px;
    }
    /* I've heard this called the "be nice to Opera 5" rule. Basically, it feeds correct
    length values to user agents that exhibit the parsing error exploited above yet get
    the CSS box model right and understand the CSS2 parent-child selector. ALWAYS include
    a "be nice to Opera 5" rule every time you use the Tantek Celik hack (above). */
    body>#navAlpha {width:128px;}

    #navBeta {
    position:absolute;
    width:190px;
    top:542px;
    right:38px;
    border:0px solid black;
    background-color:#fff;
    padding:10px;
    z-index:1;
    /* Again, the ugly brilliant hack. */
    voice-family: "\"}\"";
    voice-family:inherit;
    width:168px;
    }
    /* Again, "be nice to Opera 5". */
    body>#navBeta {width:168px;}






    ps thanks for taking the time to look any help appreciated thankyou in advance.

  • #2
    Originally posted by quibs View Post
    Error Line 8 column 236: character data is not allowed here.
    ...ion><LINK href="style.css" type=text/css rel=stylesheet>
    ... forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).
    That should give you a start.
    PHP Code:
    $hello file_get_contents('hello.txt'); echo $hello
    hello

    Comment


    • #3
      oups realy that simple lol thankyou down to 3 dont know how i missed that one must be that headache

      Comment


      • #4
        managed to fix another last 2 here
        Error Line 34 column 10: character data is not allowed here.
        <noscript>Your browser does not support script</noscript>
        You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).


        Error Line 34 column 56: end tag for "NOSCRIPT" which is not finished.
        <noscript>Your browser does not support script</noscript>
        Most likely, You nested tags and closed them in the wrong order. For example <p><em>...</p> is not acceptable, as <em> must be closed before <p>. Acceptable nesting is: <p><em>...</em></p>

        Another possibility is that you used an element which requires a child element that you did not include. Hence the parent element is "not finished", not complete. For instance, <head> generally requires a <title>, lists (ul, ol, dl) require list items (li, or dt, dd), and so on.

        Comment


        • #5
          Have you tried
          Code:
          <NOSCRIPT>
              <P><!-- your text here -->
          </NOSCRIPT>
          ??
          PHP Code:
          $hello file_get_contents('hello.txt'); echo $hello
          hello

          Comment


          • #6
            solved all now thankyou anyway :-)

            Comment

            Working...
            X