Non so come alternare lo sfondo delle celle.
In pratica ho un elenco di dati e per poterli leggere meglio dovrei che una riga fosse di un colore e quella dopo di un altro.
Questo è il mio foglio di stile.
body { font-family: Verdana, Arial, Helvetica, sans-serif; color: #555555; background-color: White; font-size : 12px;}
td { font-family: Verdana, Arial, Helvetica, sans-serif; color: #555555; font-size : 12px; }
.rubrik
{
font-weight : normal;
font-size : 12px;
color : #555555;
font-weight : bold;
font-size : 12px;
background-color: White;
background-image: url(menybg.gif);
}
A:LINK {
text-decoration : none;
font-weight : bold;
color : Blue;
}
A:VISITED {
text-decoration : none;
font-weight : bold;
color : Blue;
}
A:ACTIVE
{
text-decoration : none;
font-weight : bold;
color : Blue;
}
A:HOVER
{
text-decoration : none;
font-weight : bold;
color : #0099FF;
}
.nyhetsrubrik
{
font-size : 18px;
padding-top: 1px;
padding-bottom: 1px;
color: Gray;
}
.linje
{
border-bottom-style : dashed;
border-bottom-width : 1px;
border-left-style : none;
border-right-style : none;
border-top-style : none;
border-bottom-color : #555555;
}
.inmatning {
background: #ffffff;
border-bottom: 1px solid #555555;
border-left: 1px solid #555555;
border-right: 1px solid #555555;
border-top: 1px solid #555555;
color: #555555;
cursor: hand; /* for IE */
font: 9px Verdana, Arial, Helvetica, sans-serif;
overflow: hidden;
}
.ruta{
background: White;
border: 0px solid Gray;
padding: 5px;
color: Gray;
}
.underrubrik {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-weight: bold;
}
.inlagg {
padding: 5px;
border: 1px dashed #555555;
color : #555555;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
overflow:auto;
background-color: #F1F4F8;
}
.input
{
color : #3366CC;
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 10px;
background-image: url(menybg.gif);
background-repeat: repeat-x;
border: 1px solid #555555;
}
HR
{
color: #555555;
}
.hidden{
background-color: #F6F6F6;
}