Non capisco qual è l'errore in questa sola riga di CSS, mi sapete dire perchè il validate mi fallisce?
codice:table#organigramma { table-layout: fixed; margin-top:20px; width: 98%; border-style:none; border-collapse:separate; border-spacing:1px; }
Non capisco qual è l'errore in questa sola riga di CSS, mi sapete dire perchè il validate mi fallisce?
codice:table#organigramma { table-layout: fixed; margin-top:20px; width: 98%; border-style:none; border-collapse:separate; border-spacing:1px; }
presa singolarmente il validatore la da valida
probilmente ci so problemi a monte o a valle
ciao
www.meteowebcam.it
La migliore raccolta di webcam meteo Italiane
www.creazionigrafiche.com
Grafica e siti web d'autore
Posto l'intera pagina:Originariamente inviato da ptransidico
presa singolarmente il validatore la da valida
probilmente ci so problemi a monte o a valle
ciao
codice:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title></title> <style type="text/css"> table#organigramma { table-layout: fixed; margin-top:20px; width: 98%; border-style:none; border-collapse:separate; border-spacing:1px; } table#organigramma tr.org_spacer { background-color:#000; height:2px; padding:0; margin:0; } table#organigramma tr.org_spacer td { padding:0; margin:0; height:2px; background-color:#CCC; } </style> </head> <body> <table id="organigramma" align="center"> <tr> <td>Ciao</td> </tr> <tr class="org_spacer"> <td></td> </tr> </table> </body> </html>
a scanso di equivoci posto anche l'errore che mi genera:
# Line: 3 Context : table#organigramma
Parse Error - -x-border-x-spacing: 1px;
# Line: 3 Context : table#organigramma
Parse error - Unrecognized : -x-border-y-spacing: 1px;
# Line: 3 Context : table#organigramma
Parse error - Unrecognized : }
il css e' valido ma hai dei problmei con il doctype e con la codifica dei caratteri prova a cambiare il doctype e dovrebbe funzionare
esmpio:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<style type="text/css">
table#organigramma { table-layout: fixed; margin-top:20px; width: 98%; border-style:none; border-collapse:separate; border-spacing:1px; }
table#organigramma tr.org_spacer { background-color:#000; height:2px; padding:0; margin:0; }
table#organigramma tr.org_spacer td { padding:0; margin:0; height:2px; background-color:#CCC; }
</style>
</head>
<body>
<table id="organigramma">
<tr>
<td>Ciao</td>
</tr>
<tr class="org_spacer">
<td>_</td>
</tr>
</table>
</body>
</html>
ciao
www.meteowebcam.it
La migliore raccolta di webcam meteo Italiane
www.creazionigrafiche.com
Grafica e siti web d'autore
Questa è una delle ultime pagine del sito, se cambio doctype poi alla fine ho un sacco di errori con tutte le altre pagine. Non c'è un modo per far funzionare questo doctype con quella sintassi? Qual è il prob. di incompatibilità?!Originariamente inviato da ptransidico
il css e' valido ma hai dei problmei con il doctype e con la codifica dei caratteri prova a cambiare il doctype e dovrebbe funzionare
esmpio:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<style type="text/css">
table#organigramma { table-layout: fixed; margin-top:20px; width: 98%; border-style:none; border-collapse:separate; border-spacing:1px; }
table#organigramma tr.org_spacer { background-color:#000; height:2px; padding:0; margin:0; }
table#organigramma tr.org_spacer td { padding:0; margin:0; height:2px; background-color:#CCC; }
</style>
</head>
<body>
<table id="organigramma">
<tr>
<td>Ciao</td>
</tr>
<tr class="org_spacer">
<td>_</td>
</tr>
</table>
</body>
</html>
ciao
con il doctype transitional non dovresti avere problemi prova cosi:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<style type="text/css">
table#organigramma { table-layout: fixed; margin-top:20px; width: 98%; border-style:none; border-collapse:separate; border-spacing:1px; }
table#organigramma tr.org_spacer { background-color:#000; height:2px; padding:0; margin:0; }
table#organigramma tr.org_spacer td { padding:0; margin:0; height:2px; background-color:#CCC; }
</style>
</head>
<body>
<table id="organigramma">
<tr>
<td>Ciao</td>
</tr>
<tr class="org_spacer">
<td>_</td>
</tr>
</table>
</body>
</html>
ciao
www.meteowebcam.it
La migliore raccolta di webcam meteo Italiane
www.creazionigrafiche.com
Grafica e siti web d'autore
Originariamente inviato da ptransidico
con il doctype transitional non dovresti avere problemi prova cosi:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<style type="text/css">
table#organigramma { table-layout: fixed; margin-top:20px; width: 98%; border-style:none; border-collapse:separate; border-spacing:1px; }
table#organigramma tr.org_spacer { background-color:#000; height:2px; padding:0; margin:0; }
table#organigramma tr.org_spacer td { padding:0; margin:0; height:2px; background-color:#CCC; }
</style>
</head>
<body>
<table id="organigramma">
<tr>
<td>Ciao</td>
</tr>
<tr class="org_spacer">
<td>_</td>
</tr>
</table>
</body>
</html>
ciao
me lo fallisce lo stesso, posto l'errore:
Errors
URI : file://localhost/TextArea
* Line: 3 Context : table#organigramma
Parse Error - -x-border-x-spacing: 1px;
* Line: 3 Context : table#organigramma
Parse error - Unrecognized : -x-border-y-spacing: 1px;
* Line: 3 Context : table#organigramma
Parse error - Unrecognized : }