Visualizzazione risultati 1 fino 6 di 6

Discussione: aiutatemi a correggere questi errori

  1. #1
    JackassViareggio non è connesso Utente giovane
    Data registrazione
    17-12-2006
    Messaggi
    92

    Predefinito aiutatemi a correggere questi errori

    salve su un sito che ti dice gli errori dei siti inserendo la mia index sono venuti fuori questi errori come li correggo Visto che nn ci capisco nulla:

    Validation Output: 4 Errors

    1. Error Line 8, Column 48: there is no attribute "FRAMESPACING".

    <frameset rows="130,*" cols="1,*" framespacing= "0" frameborder="NO" border= "0">



    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. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.


    2. Error Line 8, Column 64: there is no attribute "FRAMEBORDER".

    …ows="130,*" cols="1,*" framespacing= "0" frameborder="NO" border= "0">



    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. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.


    3. Error Line 8, Column 77: there is no attribute "BORDER".

    …mespacing= "0" frameborder="NO" border= "0">



    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. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.


    4. Error Line 17, Column 9: document type does not allow element "NOFRAMES" here.

    <noframes> <body>



    The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).

    One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).


    grazie

  2. #2
    L'avatar di miki92
    miki92 non è connesso AlterGuru 2500
    Data registrazione
    21-04-2007
    Residenza
    Procida (NA)
    Messaggi
    4,226

    Predefinito

    Anche io avevo riscontrato i tuoi errori, il w3c (nel tuo caso) ti segnala che devi levare quell'attribbuto perchè non viene considerato valido per XHTML. Se usi FrontPage ti consiglio di Aggiornarti a Microsoft Expression Web come ho fatto io.
    Per maggiori aiuti potresti postare l'intero codice XHTML cosi che venga un po' corretto...comunque nell'errore 4 hai invertito i tag.
    Ultima modifica di miki92 : 22-08-2007 alle ore 21.57.23
    Apprezzi l'aiuto? Offrimi un caffè!

  3. #3
    JackassViareggio non è connesso Utente giovane
    Data registrazione
    17-12-2006
    Messaggi
    92

    Predefinito

    il codice della mia pagina iniziale è questo
    <frameset rows="130,*" cols="1,*" framespacing= "0" frameborder="NO" border= "0">
    <frame src="bo1.html">
    <frame src="/top.htm" name="topFrame" scrolling="NO" noresize>
    <frame src="bo.html">
    <frameset rows="*" cols="140,*" framespacing= "0" frameborder="NO" border= "0">
    <frame src="/sinistra.htm" name="leftFrame" noresize>
    <frame src="/central.htm" name="mainFrame">
    </frameset>
    </frameset>


    lo devo sostituire a con quello?

  4. #4
    L'avatar di miki92
    miki92 non è connesso AlterGuru 2500
    Data registrazione
    21-04-2007
    Residenza
    Procida (NA)
    Messaggi
    4,226

    Predefinito

    Beh non è questo che intendevo...volevo il codice dell'intera pagina compreso i tag html, body, head...ecc perchè secondo w3c hai un errore anche con body e noframe.
    Apprezzi l'aiuto? Offrimi un caffè!

  5. #5
    L'avatar di dreadnaut
    dreadnaut non è connesso Super Moderatore
    Data registrazione
    22-02-2004
    Messaggi
    6,266

    Predefinito

    Miki92, ha già detto che gli errori sono apparsi correggendo la sua index, quindi il codice è li che ti aspetta sul suo sito.

    JackassV, il sito che controlla le tue pagine si attiene strettamente a questa definizione dei frame, che non ti lascia azzerare i margini esattamente come fai tu. La pagina funziona comunque, ma non segue gli standard: se sopporti la cosa, puoi lasciarla com'è, altrimenti potresti dover cambiare parecchia roba.
    Ultima modifica di dreadnaut : 22-08-2007 alle ore 22.58.37

  6. #6
    L'avatar di miki92
    miki92 non è connesso AlterGuru 2500
    Data registrazione
    21-04-2007
    Residenza
    Procida (NA)
    Messaggi
    4,226

    Predefinito

    Si scusa drednaut.

    @JackassViareggio Prova a mettere questo codice...dovrebbe funzionare perfettamente:
    Codice HTML:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
    <html>
    <head>
    <title>Jackass Viareggio</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    
    <frameset rows="130,*">
      <frameset cols="1,*">
      <frame src="UntitledFrame-1.html">
      <frame src="top.htm" name="topFrame" scrolling="NO" noresize>
      </frameset>
    	<frameset cols="1,*">
      <frame src="UntitledFrame-2.html">
      <frameset rows="*">
    		<frameset cols="140,*">
    		<frame src="sinistra.htm" name="leftFrame"  noresize>
    		<frame src="central.htm" name="mainFrame">
    		<noframes>
    	<body>
    
    	<p>La pagina corrente utilizza i frame. Questa caratteristica non è 
    	supportata dal browser in uso.</p>
    
    	</body>
    	</noframes>
    		</frameset>
    	</frameset>
    	</frameset>
    </frameset>
    </html>
    Ultima modifica di miki92 : 22-08-2007 alle ore 23.13.43
    Apprezzi l'aiuto? Offrimi un caffè!

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •