- Home
- Categorie
- Coding e Sistemistica
- WordPress
- avete mai provato a........
-
Qualche esempio?
Così non è molto chiaro.
Grazie.
-
praticametne se copi qualke tabella da qualke sito e la inserisci in un artico di wordpress, la salvi e vedi ke esce? ti da solo la prima riga il resto lo elimina
-
Puoi ovviare al problema facendo uno stamp della tabella, ritagliarla con paint, upparla su imageshack e inserirla nel post.
-
si ok, ma io vorrei copiare la tabella, nn posso risolvere cosi,mi
-
si ok, ma io vorrei copiare la tabella, nn posso risolvere cosi,mi servirebbe copiare la tabella
grazie
-
Qual è la difficoltà nella soluzione che ti ho proposto?
Non può esistere un plugin o un modo per ogni cosa, non trovi?
-
Devi fare attenzione a ripulire il codice.
Innanzitutto incolli la tabella prima in un editor di testo, e controlli i tags,
devi rimuovere tags strani. tieni solo i tags <table> <tr> <td> </td> </tr> e </table>
Se ci sono dei tags di style CSS ovviamente non funzionerebbero se non li hai nel css del tuo tema wp.Una volta che hai ripulito la tabella, prova ad incollare il codice, ma vai nella parte HTML del pannello di inserimento posts di WP, non nella visuale anteprima.
Se ancora non riesci puoi copiaincollare il tuo codice della tabella copiata qui, così ci guardo e ti so dire quali sono i tags che a WP danno fastidio e causano il troncamento.
-
Ottima soluzione di Jantima.
Personalmente preferisco un banalissimo stamp piuttosto che mettere mano al codice/html rischiando di perdere tempo e non risolvere velocemente il problema.
Speriamo che meee82 riuscirà a risolvere il suo problema.
-
<table border="0" cellpadding="0" cellspacing="0" width="244" style="border-collapse:
collapse;width:183pt">
<colgroup>
<col width="64" style="width:48pt"><col width="116" style="width: 87pt">
<col width="64" style="width:48pt">
</colgroup>
<tr height="21" style="height:15.75pt">
<td colspan="3" height="21" width="244" style="height: 15.75pt; width: 183pt; color: white; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: 1.0pt solid windowtext; border-right: 1.0pt solid black; border-top: 1.0pt solid windowtext; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px; background: green">
1ª GIORNATA</td>
</tr>
<tr height="34" style="height: 25.5pt">
<td colspan="3" height="34" width="244" style="height: 25.5pt; width: 183pt; color: green; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: 1.0pt solid windowtext; border-right: 1.0pt solid black; border-top: 1.0pt solid windowtext; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
A.2/09/2007 - R.23/12/2007</td>
</tr>
<tr height="70" style="height:52.5pt">
<td height="70" width="64" style="height: 52.5pt; width: 48pt; color: red; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: 1.0pt solid windowtext; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
2-0</td>
<td width="116" style="width: 87pt; color: black; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
BARLETTA-FASANO</td>
<td width="64" style="width: 48pt; color: black; font-size: 8.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
</td>
</tr>
<tr height="53" style="height:39.75pt;page-break-inside:avoid">
<td height="53" width="64" style="height: 39.75pt; width: 48pt; color: red; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: 1.0pt solid windowtext; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
2-0</td>
<td width="116" style="width: 87pt; color: black; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
BRINDISI-QUARTO</td>
<td width="64" style="width: 48pt; color: black; font-size: 8.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
</td>
</tr>
<tr height="70" style="height:52.5pt;page-break-inside:avoid">
<td height="70" width="64" style="height: 52.5pt; width: 48pt; color: red; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: 1.0pt solid windowtext; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
1-0</td>
<td width="116" style="width: 87pt; color: black; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
GROTTAGLIE-POMIGLIANO</td>
<td width="64" style="width: 48pt; color: black; font-size: 8.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
</td>
</tr>
<tr height="53" style="height:39.75pt;page-break-inside:avoid">
<td height="53" width="64" style="height: 39.75pt; width: 48pt; color: red; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: 1.0pt solid windowtext; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
01-feb</td>
<td width="116" style="width: 87pt; color: black; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
LAVELLO-ISCHIA</td>
<td width="64" style="width: 48pt; color: black; font-size: 8.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
</td>
</tr>
<tr height="70" style="height:52.5pt;page-break-inside:avoid">
<td height="70" width="64" style="height: 52.5pt; width: 48pt; color: red; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: 1.0pt solid windowtext; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
2-0</td>
<td width="116" style="width: 87pt; color: black; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
GIUGLIANO-AVERSA N.</td>
<td width="64" style="width: 48pt; color: black; font-size: 8.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
</td>
</tr>
<tr height="70" style="height:52.5pt;page-break-inside:avoid">
<td height="70" width="64" style="height: 52.5pt; width: 48pt; color: red; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: 1.0pt solid windowtext; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
01-feb</td>
<td width="116" style="width: 87pt; color: black; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
MATERA-BITONTO</td>
<td width="64" style="width: 48pt; color: black; font-size: 8.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
</td>
</tr>
<tr height="53" style="height:39.75pt;page-break-inside:avoid">
<td height="53" width="64" style="height: 39.75pt; width: 48pt; color: red; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: 1.0pt solid windowtext; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
03-apr</td>
<td width="116" style="width: 87pt; color: black; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
SAPRI-GRAGNANO</td>
<td width="64" style="width: 48pt; color: black; font-size: 8.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
</td>
</tr>
<tr height="53" style="height:39.75pt;page-break-inside:avoid">
<td height="53" width="64" style="height: 39.75pt; width: 48pt; color: red; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: 1.0pt solid windowtext; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
02-feb</td>
<td width="116" style="width: 87pt; color: black; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
SAVOIA-FRANCAVILLA</td>
<td width="64" style="width: 48pt; color: black; font-size: 8.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
</td>
</tr>
<tr height="53" style="height:39.75pt;page-break-inside:avoid">
<td height="53" width="64" style="height: 39.75pt; width: 48pt; color: red; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: 1.0pt solid windowtext; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
02-gen</td>
<td width="116" style="width: 87pt; color: black; font-size: 10.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
VIRIBUS U.-H. VENOSA</td>
<td width="64" style="width: 48pt; color: black; font-size: 8.0pt; font-weight: 700; font-family: Tahoma, sans-serif; text-align: center; white-space: normal; font-style: normal; text-decoration: none; vertical-align: bottom; border-left: medium none; border-right: 1.0pt solid windowtext; border-top: medium none; border-bottom: 1.0pt solid windowtext; padding-left: 1px; padding-right: 1px; padding-top: 1px">
</td>
</tr>
</table>
</body>
-
?
-
Il tag di chiusura del body toglilo. E' un po' sporca come tabella, ma dovrebbe dartela lo stesso se metti il codice "nella parte HTML del pannello di inserimento posts di WP" come ti ha suggerito Jantima.
-
niente manco me la da
-
Così dovrebbe funzionare, non sono sicura di cosa ma qualcuno degli stili usati dalla tua tabella non piace a wp...
<table border="1" cellpadding="2" cellspacing="2" style="border:solid 1px #999999;border-collapse:collapse;"> <tr bgcolor="green" style="color:#FFFFFF;"> <td colspan="2"> <div align="center"><strong>1ª GIORNATA</strong></div></td> </tr> <tr> <td height="39" colspan="2"> <div align="center"><strong>A.2/09/2007 - R.23/12/2007</strong></div></td> </tr> <tr> <td style="color: #FF0000; font-weight: bold;"> 2-0</td> <td > BARLETTA-FASANO </td> </tr> <tr> <td style="color:; font-weight: bold;"> 2-0</td> <td > BRINDISI-QUARTO </td> </tr> <tr> <td style="color:; font-weight: bold;"> 1-0</td> <td > GROTTAGLIE-POMIGLIANO </td> </tr> <tr> <td style="color:; font-weight: bold;"> 01-feb</td> <td > LAVELLO-ISCHIA </td> </tr> <tr> <td style="color:; font-weight: bold;"> 2-0</td> <td > GIUGLIANO-AVERSA N. </td> </tr> <tr> <td style="color:; font-weight: bold;"> 01-feb</td> <td > MATERA-BITONTO</td> </tr> <tr> <td style="color:; font-weight: bold;"> 03-apr</td> <td > SAPRI-GRAGNANO </td> </tr> <tr> <td style="color:; font-weight: bold;"> 02-feb</td> <td > SAVOIA-FRANCAVILLA </td> </tr> <tr> <td style="color:; font-weight: bold;"> 02-gen</td> <td > VIRIBUS U.-H. VENOSA </td> </tr> </table>
Spero che vada bene, ho cercato di farla simile!