gladiorosso ha scritto:
Whiskey ha scritto:
Pedro30 ha scritto:
gladiorosso ha scritto:
ho aggiunto 2 tabelle (gironi di coppa) alla fine del codice criptato nel file miniclassifica.php e le modifico a mano ogni volta che gioco la coppa.
più che il cosa, interessava il come
magari un esempio di codice in generale alla quale noi profani possiamo mettere mano...
ecco il codice:
<br />
<link href="../../skin/originalReVo/css/miniclass.css" rel="stylesheet" type="text/css" />
<table width="200" border="0" cellspacing="8" class="tabella">
<tr>
<th colspan="6" class="titolo" scope="col"><img src="../../skin/originalReVo/img/coppa_8x8.png" width="8" height="8" alt="" /> Coppa di Lega: GIRONE A</th>
</tr>
<tr>
<td class="intest2">#</td>
<td class="intest2">squadra</td>
<td class="intest2">p.ti</td>
<td class="intest2">v</td>
<td class="intest2">n</td>
<td class="intest2">p</td>
</tr>
<tr>
<td class="sq">1</td>
<td class="sq">FantaBrothers</td>
<td class="sq">3</td>
<td class="sq2">1</td>
<td class="sq2">0</td>
<td class="sq2">0</td>
</tr>
<tr>
<td class="sq">2</td>
<td class="sq">Cris Park Rangers</td>
<td class="sq">3</td>
<td class="sq2">1</td>
<td class="sq2">0</td>
<td class="sq2">0</td>
</tr>
<tr>
<td class="sq">3</td>
<td class="sq3">A.C. Picchia</td>
<td class="sq">1</td>
<td class="sq2">0</td>
<td class="sq2">1</td>
<td class="sq2">0</td>
</tr>
<tr>
<td class="sq">4</td>
<td class="sq3">Petros-Petros</td>
<td class="sq">1</td>
<td class="sq2">0</td>
<td class="sq2">1</td>
<td class="sq2">0</td>
</tr>
<tr>
<td class="sq">5</td>
<td class="sq3">Muppet</td>
<td class="sq">0</td>
<td class="sq2">0</td>
<td class="sq2">0</td>
<td class="sq2">1</td>
</tr>
<tr>
<td class="sq">6</td>
<td class="sq3">Tango Boys</td>
<td class="sq">0</td>
<td class="sq2">0</td>
<td class="sq2">0</td>
<td class="sq2">1</td>
</tr>
</table>
<br />
<link href="../../skin/originalReVo/css/miniclass.css" rel="stylesheet" type="text/css" />
<table width="200" border="0" cellspacing="8" class="tabella">
<tr>
<th colspan="6" class="titolo" scope="col"><img src="../../skin/originalReVo/img/coppa_8x8.png" width="8" height="8" alt="" /> Coppa di Lega: GIRONE B</th>
</tr>
<tr>
<td class="intest2">#</td>
<td class="intest2">squadra</td>
<td class="intest2">p.ti</td>
<td class="intest2">v</td>
<td class="intest2">n</td>
<td class="intest2">p</td>
</tr>
<tr>
<td class="sq">1</td>
<td class="sq">Alaska United</td>
<td class="sq">3</td>
<td class="sq2">1</td>
<td class="sq2">0</td>
<td class="sq2">0</td>
</tr>
<tr>
<td class="sq">2</td>
<td class="sq">Sporting Beach</td>
<td class="sq">1</td>
<td class="sq2">0</td>
<td class="sq2">1</td>
<td class="sq2">0</td>
</tr>
<tr>
<td class="sq">3</td>
<td class="sq3">Real Silvia</td>
<td class="sq">1</td>
<td class="sq2">0</td>
<td class="sq2">1</td>
<td class="sq2">0</td>
</tr>
<tr>
<td class="sq">4</td>
<td class="sq3">Zenit St.Pedro</td>
<td class="sq">1</td>
<td class="sq2">0</td>
<td class="sq2">1</td>
<td class="sq2">0</td>
</tr>
<tr>
<td class="sq">5</td>
<td class="sq3">VrascEverton</td>
<td class="sq">1</td>
<td class="sq2">0</td>
<td class="sq2">1</td>
<td class="sq2">0</td>
</tr>
<tr>
<td class="sq">6</td>
<td class="sq3">Real Galacticos</td>
<td class="sq">0</td>
<td class="sq2">0</td>
<td class="sq2">0</td>
<td class="sq2">1</td>
</tr>
</table>
<br />
e questo è il css di riferimento:
.titolo {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 10px;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-decoration: none;
text-align: left;
border-bottom-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: solid;
border-left-style: none;
border-bottom-color: #033;
white-space: normal;
}
.intest {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 9px;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-decoration: none;
border-bottom-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: solid;
border-left-style: none;
border-bottom-color: #030;
}
.intest2 {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 9px;
font-style: normal;
font-weight: normal;
font-variant: normal;
border-bottom-width: 1px;
border-bottom-style: dotted;
border-bottom-color: #030;
color: #333;
}
.sq {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-decoration: none;
border-bottom-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: dotted;
border-left-style: none;
border-bottom-color: #030;
}
.sqvuoto {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 8px;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-decoration: none;
border-top-style: none;
border-right-style: none;
border-bottom-style: dotted;
border-left-style: none;
}
.sq2 {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 9px;
font-style: normal;
font-weight: normal;
font-variant: normal;
color: #666;
text-decoration: none;
border-bottom-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: dotted;
border-left-style: none;
border-bottom-color: #030;
}
.sq3 {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 12px;
font-style: normal;
font-weight: normal;
font-variant: normal;
color: #666;
border-bottom-width: 1px;
border-top-style: none;
border-right-style: none;
border-bottom-style: dotted;
border-left-style: none;
border-bottom-color: #030;
}
.tabella {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
position: relative;
left: 10px;
}
.contatore {
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
position: relative;
left: 50px;
}