http://validator.w3.org/check?uri=ht...2Ftabella.html
mi dite cosa devo modifica/aggiungere affinchè non ci siano errori in questa pagina?
http://validator.w3.org/check?uri=ht...2Ftabella.html
mi dite cosa devo modifica/aggiungere affinchè non ci siano errori in questa pagina?
hai un <tr> alla fine che non centra.
<head><title>qualcosa</title></head> -->prova cos'
e bordecolor="#000000" ->prova così
![]()
Se smetti di imparare e evolverti sei morto dentro
Allora
1. Sotto l'Head ci vuole la codifica dei caratteri
Gli altri 2 sarebbero da definire con i CSS
4. C'è un <tr> aperto che non serve a nulla.
:D
EDIT: Mi hanno preceduto!
Il link è questo http://stuff1.interfree.it/html/tabella.html
Ho cambiato un pò di cose ma mi dà ancora errori !
qual'è il codice della codifica da mettere sotto head ?
anche se non uso i css non dovrebbe essere valido style=".." ?
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
quello è il codice della codifica,
mentre per "width=..." dovresti usare style="width: ..."
per il colore del bordo credo
[code:1:e2995182d6]style="border-top-color: ..."[/code:1:e2995182d6]
Al posto di top puoi usare anche left, right e bottom
oppure usa style="border-color: 4 valori diversi separati da spazio"
in ordine i 4 valori valgono x top, right, bottom e left
![]()
Imposta <table border="1">
oppure
<table style="border-width: xxx">
![]()
hai dato lo spessore e il colore? ( magari non è quello , non ho mai provato con le tabelle,ma a "intuizione")Originalmente inviato da marcio
Se smetti di imparare e evolverti sei morto dentro
[code:1:15749ce738]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<title>Prova validazione</title>
<style type="text/css">
<!--
TABLE {
width: 100%;
border: 1;
border-color: #000000;
border-collapse: collapse;
border-width: 1;
}
.td_30 {
width: 30%
}
.td_70 {
width: 70%
}
-->
</style>
</head>
<body>
<table>
<tr>
<td class="td_30">1<br />2<br />3
</td>
<td class="td_70">dsfdsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf</td>
</tr>
</table>
</body>
</html>[/code:1:15749ce738]
questo è il codice,ma non và![]()
[code:1:15749ce738]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<title>Prova validazione</title>
<style type="text/css">
<!--
TABLE {
width: 100%;
border: 1;
border-color: #000000;
border-collapse: collapse;
border-width: 1;
}
.td_30 {
width: 30%
}
.td_70 {
width: 70%
}
-->
</style>
</head>
<body>
<table>
<tr>
<td class="td_30">1<br />2<br />3
</td>
<td class="td_70">dsfdsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf</td>
</tr>
</table>
</body>
</html>[/code:1:15749ce738]
questo è il codice,ma non và![]()
[code:1:15749ce738]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<title>Prova validazione</title>
<style type="text/css">
<!--
TABLE {
width: 100%;
border: 1;
border-color: #000000;
border-collapse: collapse;
border-width: 1;
}
.td_30 {
width: 30%
}
.td_70 {
width: 70%
}
-->
</style>
</head>
<body>
<table>
<tr>
<td class="td_30">1<br />2<br />3
</td>
<td class="td_70">dsfdsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf</td>
</tr>
</table>
</body>
</html>[/code:1:15749ce738]
questo è il codice,ma non và![]()
[code:1:506a461199]Originalmente inviato da marcio
<html>
<head>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<title>Prova validazione</title>
<style type="text/css">
<!--
TABLE.TABLEStyle {
width: 100%;
border: 1px solid;
border-color: #000000;
border-collapse: collapse;
border-width: 1;
}
.td_30 {
width: 30%
}
.td_70 {
width: 70%
}
-->
</style>
</head>
<body>
<table class="TABLEStyle">
<tr>
<td class="td_30">1<br />2<br />3
</td>
<td class="td_70">dsfdsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf</td>
</tr>
</table>
</body>
</html>[/code:1:506a461199]
Così dovrebbe andare...
In alternativa a chiamare lo stile "TABLE.TABLEStyle" , puoi lasciare come avevi fatto tu e togliere [code:1:506a461199]class="TABLEStyle"[/code:1:506a461199] . Però se fai così, tutte le tabelle della pagina saranno così, anche quelle che magari vorresti lasciare trasparenti.
Ciao
[code:1:506a461199]Originalmente inviato da marcio
<html>
<head>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<title>Prova validazione</title>
<style type="text/css">
<!--
TABLE.TABLEStyle {
width: 100%;
border: 1px solid;
border-color: #000000;
border-collapse: collapse;
border-width: 1;
}
.td_30 {
width: 30%
}
.td_70 {
width: 70%
}
-->
</style>
</head>
<body>
<table class="TABLEStyle">
<tr>
<td class="td_30">1<br />2<br />3
</td>
<td class="td_70">dsfdsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf</td>
</tr>
</table>
</body>
</html>[/code:1:506a461199]
Così dovrebbe andare...
In alternativa a chiamare lo stile "TABLE.TABLEStyle" , puoi lasciare come avevi fatto tu e togliere [code:1:506a461199]class="TABLEStyle"[/code:1:506a461199] . Però se fai così, tutte le tabelle della pagina saranno così, anche quelle che magari vorresti lasciare trasparenti.
Ciao
[code:1:506a461199]Originalmente inviato da marcio
<html>
<head>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<title>Prova validazione</title>
<style type="text/css">
<!--
TABLE.TABLEStyle {
width: 100%;
border: 1px solid;
border-color: #000000;
border-collapse: collapse;
border-width: 1;
}
.td_30 {
width: 30%
}
.td_70 {
width: 70%
}
-->
</style>
</head>
<body>
<table class="TABLEStyle">
<tr>
<td class="td_30">1<br />2<br />3
</td>
<td class="td_70">dsfdsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf<br />sdfdsfbr>dsf</td>
</tr>
</table>
</body>
</html>[/code:1:506a461199]
Così dovrebbe andare...
In alternativa a chiamare lo stile "TABLE.TABLEStyle" , puoi lasciare come avevi fatto tu e togliere [code:1:506a461199]class="TABLEStyle"[/code:1:506a461199] . Però se fai così, tutte le tabelle della pagina saranno così, anche quelle che magari vorresti lasciare trasparenti.
Ciao