@@Jörg
#myTable tr:nth-child(odd) td{ background-color: #E9E9E9 }
Damit stylst du Tabellenzellen.
#myTable .we{ background-color: #FFE697 }
Damit stylst du was? Tabellenzeilen? (Rate ich jetzt mal; du hast vergessen, dein Markup zu posten.)
Wenn du auf eine graue Tischdecke (<tr>
) eine gelbe Tischdecke (<td>
) legst, was siehst du dann noch von der grauen?
Du möchtest auch am Wochenende Tabellenzellen stylen?
Oder auf die zweifelhaften Zebrastreifen verzichten?
😷 LLAP
--
“When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down ‘happy.’ They told me I didn’t understand the assignment, and I told them they didn’t understand life.” —John Lennon
“When I was 5 years old, my mother always told me that happiness was the key to life. When I went to school, they asked me what I wanted to be when I grew up. I wrote down ‘happy.’ They told me I didn’t understand the assignment, and I told them they didn’t understand life.” —John Lennon