Ich würde gerne zwei verschiedene Tabellen-Layouts nutzen.
Ein schlichtes nur mit Linien und eines mit jedem zweiten Feld in einer anderen Farbe.
Ich habe mal versucht ein CSS zu erstellen, aber irgendwie bin ich zu blöde.
table { width: 100%; margin-bottom: 2px; margin-bottom: 0.015rem; border-left: 2px solid #848484; border-top: 2px solid #848484; border-bottom: 2px solid #848484; font-size: 12px; }
td, th { padding: 2px 2px; padding: 0.015rem 0.015rem; border-right: 2px solid #848484; border-bottom: 2px solid #848484; border-top: 2px solid #848484; border-left: 2px solid #848484; }
th { background-color: #f9f9f9; color: #000; }
tr:nth-child(odd) { background: #F2F2F2; }
table.blank { width: 100%; margin-bottom: 2px; margin-bottom: 0.015rem; border-left: 2px solid #848484; border-top: 2px solid #848484; border-bottom: 2px solid #848484; font-size: 12px; }
table.blank td, th { padding: 2px 2px; padding: 0.015rem 0.015rem; border-right: 2px solid #848484; border-bottom: 2px solid #848484; border-top: 2px solid #848484; border-left: 2px solid #848484; }
Kann da jemand helfen?