Tutorijali.Net forum

Full Version: Css - Redovi u tabli
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Trebao bi ofarbat unutar HTML table svaki parni red jednom bojom, a neparni sa drugom.
Sad moje pitanje je dal je moguće u ceesesu napravit nekaj ovak:
Code:
tr
{
parniRedovi-color:blue;
neparniRedovi-color:nekakvaZelenoPlavoSmeđoCrvenoBijeloLimunžuta;
}
il baš moram:
Code:
<table>
<tr class="neparni_red">
        <td>nekaj</td>
        <td>nekaj</td>
</tr>
<tr class="parni_red">
        <td>nekaj</td>
        <td>nekaj</td>
</tr>
<tr class="neparni_red">
        <td>nekaj</td>
        <td>nekaj</td>
</tr>
<tr class="parni_red">
        <td>nekaj</td>
        <td>nekaj</td>
</tr>
...............................................
</table>
Evo da ti ne pišem sve ovdje http://www.somacon.com/p338.php
Reference URL's