Visualizzazione dei risultati da 1 a 5 su 5
  1. #1

    validare il mio codice, mi serve una mano...

    This page is not Valid HTML 4.01 Transitional!


    aaaaaaaaaaaaaaahhhhhh


    sono riuscito ad arrivare a 9 errori, però questi proprio non li riesco a risolvere a causa del mio inglese e delle mie conoscenze. Chiedo aiuto ç_ç


    Error Line 24 column 26: there is no attribute "HEIGHT".
    <table width="652" height="446" border="0" align="center" cellpadding="0" cellsp
    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). ...ecc ecc


    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 24 column 111: document type does not allow element "TABLE" here.
    ...cellspacing="0" class="tabla-general">


    Error Line 53 column 98: there is no attribute "BORDERCOLORLIGHT".
    ..." bgcolor="#0F2663" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF">





    Error Line 53 column 124: there is no attribute "BORDERCOLORDARK".
    ...colorlight="#FFFFFF" bordercolordark="#FFFFFF">



    Error Line 151 column 87: ID "TITCONTATTI" already defined.
    ... cellpadding="0" cellspacing="0" id="titContatti" height="22">


    Error Line 187 column 17: document type does not allow element "P" here.
    <p align="center">[b]<font size="1" color="#000000">Per una corretta


    Error Line 191 column 17: document type does not allow element "P" here.
    <p align="center"><font face="Courier">[b]<font color="#000000" size="2">C</font


    Error Line 196 column 22: document type does not allow element "STYLE" here.
    <style type="text/css">
    Net182

  2. #2
    L'attributo height per le tabelle non è più utilizzabile, bisogna agire tramite CSS.

    Gli attributi relativi ai bordi delle tabelle sono deprecati, inoltre bordercolordark e bordercolorlight si visualizzano solamente su IE.
    FEDERIX.IT - [Pillola] GRAFICA DEI FORM

    ...ho ancora quella forza che ti serve, quando dici "Si comincia!"

  3. #3
    risolti i border color, ma per il css non so come fare...

    provero' in qualche modo, grazie...
    Net182

  4. #4
    leggi le guide su html.it su CSS e xhtml!

    ciao


  5. #5
    Originariamente inviato da net182
    risolti i border color, ma per il css non so come fare...

    provero' in qualche modo, grazie...
    prova così:
    codice:
    <style type="text/css">
    <!--
    .tabtab {
    	height: 300px;
    	width: 300px;
    	background-color:#FF0000;
    }
    -->
    </style>
    </head>
    
    <body>
    <table class="tabtab">
    		<tr>
    				<td></td>
    		</tr>
    </table>
    ciaux

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.