Visa ett inlägg
Oläst 2006-10-09, 11:11 #24
cezar cezar är inte uppkopplad
Medlem
 
Reg.datum: Apr 2006
Inlägg: 260
cezar cezar är inte uppkopplad
Medlem
 
Reg.datum: Apr 2006
Inlägg: 260
Det jobbiga nu är att jag hittar inte koden som jag måste ändra.

Kör med cutenews php script och man ändrar koden i cutenews webgränssnitt som man loggar in på.
Den koden har jag kollat igenom och hittar inte de kodsnuttar som den klagar på.

Citat:

Below are the results of checking this document for XML well-formedness and validity.
Error Line 98 column 69: there is no attribute "name".
...="return CNSubmitComment()" method="post" name="comment" id="comment" action="">


You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.


Error Line 98 column 106: document type does not allow element "br" here; missing one of "p", "h1", "h2", "h3", "h4", "h5", "h6", "div", "pre", "address", "fieldset", "ins", "del" start-tag.
..."comment" id="comment" action="">


The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "

" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").


Error Line 128 column 18: character data is not allowed here.
<noscript>Your browser is not Javascript enable or you have turn it off.

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

aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes).


Error Line 138 column 13: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified.
<input type=checkbox id="CNremember" value="1" /><label for="CNremember"> Remem


Error Line 147 column 111: required attribute "type" not specified.
...utenews/remember.js"></script><script>CNreadCookie();</script><div style="mar

The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
cezar är inte uppkopplad   Svara med citatSvara med citat