[CSS] Tabellenproblem > CSS | editiert

Startpost-Retter
Hey ihr,
hab ein Problem mit meinen Tabellen. Und zwar werden die Spalten und Zellen nicht transparent angezeigt, sondern mit dem Hintergrund des mains. Zudem werden die Tabellen, welche ich durch css gefärbt habe vom Hintergrund überschrieben. Hoffe ihr versteht was ich meine.

---

EDIT: Habe die Tabellenhintergründe jetzt zwar transparent bekommen, aber die Farbe, die angezeigt werden soll, wird nicht angezeigt.

der CSS Code:

code:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
/* CSS Document */



body {
    scrollbar-arrow-color: #000000;
    scrollbar-base-color: #9E8D7B;
    scrollbar-dark-shadow-color: #000000;
    scrollbar-track-color: #9E8D7B;
    scrollbar-face-color: #9E8D7B;
    scrollbar-shadow-color: #000000;
    scrollbar-highlight-color: #000000;
    scrollbar-3d-light-color: #9E8D7B;

    background-image: url('http://freenet-homepage.de/gestuet_rosemont/Designs/main.jpg');
    background-repeat: no-repeat;
    background-attachment: fixed;
	font-family: Verdana;
	font-size: 10px;
	color: #000000;
	line-height: 13px;
	letter-spacing: 0px;
	text-align:justify
}

.tadunkel {
    font-family: Verdana;
    font-size: 10px;
    color: #000000;
    border: solid 1px #000000;
    background-color: #D2C7BD;
    padding: 3px;
    font-size: 10px; text-align: center;
    
.tahell {
    font-family: Verdana;
    font-size: 10px;
    color: #000000;
    border: solid 1px #000000;
    background-color: #DFD2C7;
    padding: 3px;
    font-size: 10px; text-align: center;
          
.tanormal {
    font-family: Verdana;
    font-size: 10px;
    color: #000000;
    border: solid 1px #000000;
    background: transparent;
    padding: 3px;
    font-size: 10px; text-align: center;}

p{
margin: 1px;
}

.header{
	 color: #000000;
	 font-size: 11px;
	 padding-top: 5px;
	 padding-bottom: 5px;

h2{
	 color: #000000;
	 font-size: 10px;
	 padding: 2px;
	 text-transform: uppercase;
	 border-top: 1px dotted #cccccc;
	 border-bottom: 1px dotted #cccccc;}
	 

A:link, A:active, A:visited {color: #000000;

A:hover {color: #FFFFFF; font-size: 10px; border-bottom: 1px solid #FFFFFF;}


a.nav
	{
height: 10px;
padding-left: 10px;
font-size: 10px;
font-family: Tahoma;
color: #000000;
line-height: 10px;
border-color: #FFFFFF;
border-style: solid;
border-top-width: 0px;
border-right-width:3px;
border-bottom-width: 0px;
border-left-width: 1px;
	}

a.nav:hover
	{
height: 10px;
padding-left: 10px;
font-size: 10px;
font-family: Tahoma;
color: #000000;
line-height: 10px;
border-color: #FFFFFF;
border-style: solid;
border-top-width: 0px;
border-right-width: 3px;
border-bottom-width:0px;
border-left-width: 1px;
	}



Hoffe mir kann jdm helfen (:
Pawie
Link zur Seite bitte.
Mag mir das nicht vorstellen xDD


Liebe Grüße
Pawie.
janinchen
Wo hast du denn die Tabellen im CSS definiert? Ich seh da gar nix. Wenn du da nicht angibst, dass die Tabellen transparent sein müssen, wird er immer den Body-Background nehmen...

Zum Beispiel müsstest du noch folgendes im CSS einfügen:
code:
1:
2:
3:
4:
5:
6:
table, td, tr {
    
         border: solid 1px #000000; 
         background-color: #CC3333;
         
          }


Du kannst auch einfach background-color: transparent; angeben, aber soweit ich weiß, funktioniert das nur im IE
janinchen
Wie hast du denn die Klassen im HTML-Dokument angegeben? Gib mal den Code von der Seite auf der dich das stört.
Astriiid
Beim CSS Dokument fehlt in Zeile 23 ein Beistrich smile , weiß nich ob das zur Lösung führt