Seite 1 von 1

CSS greift nicht 100% (C. 4.6.8)

Verfasst: Mi 2. Aug 2006, 09:45
von Jamest
Hallo habe folgendes Problem.

Ich habe in meinem Layout bestimmte Taellen mit hintergrundbildern
versehen. Hier mal ein Auszug:

Code: Alles auswählen

			<table cellpadding="0" cellspacing="0" border="0">
				<tr>
					<td colspan="3" class="abstand_o"><img src="img/blank.gif" height="23"></td>
				</tr>
				<tr>
					<td rowspan="3" class="h_l">&nbsp;</td>	
					<td class="hc_o"><img src="img/blank.gif" height="12"></td>
					<td rowspan="3" class="h_r">&nbsp;</td>
				</tr>
				<tr>
					<td class="hc_m" valign="middle">FAQ | Kontakt | Sitemap</td>
				</tr>
				<tr>
					<td class="hc_u" valign="middle" align="right"><img src="img/blank.gif" height="6"></td>
				</tr>
			</table>
Meine CSS datei sieht zum beispiel so aus:

Code: Alles auswählen

body {
		margin: 0;
		padding: 0;
		background: url(img/hp_bg.gif);
		background-repeat: repeat-x;
}

.abstand_o {
		width: 10px;
}

.h_l {
		width: 21px;
		height: 49px;
		background: url(img/h_l.gif);
		background-repeat: no-repeat;
}

.hc_o {
		width: 832px;
		height: 12px;
		background: url(img/hc_o.gif);
		background-repeat: repeat-x;
}
.hc_m {
		font: 13px hevetica, arial, sans-serif;
		font-weight: bold;
		text-align: right;
		color: #FFFFFF;
		width: 832px;
		height: 31px;
		background: url(img/hc_m.gif);
		background-repeat: repeat-x;
}
.hc_u {
		width: 832px;
		height: 6px;
		background: url(img/hc_u.gif);
		background-repeat: repeat-x;
}

.h_r {
		width: 21px;
		height: 49px;
		background: url(img/h_r.gif);
		background-repeat: no-repeat;
}
.b_l {
		width: 21px;
		height: 201px;
		background: url(img/b_l.gif);
		background-repeat: repeat-x;
}
.b_m {
		width: 832px;
		height: 201px;
		background: url(img/banner.jpg);
		background-repeat: repeat-x;
}

.b_r {
		width: 21px;
		height: 201px;
		background: url(img/b_r.gif);
		background-repeat: no-repeat;
}
.f_l {
		width: 21px;
		height: 55px;
		background: url(img/f_l.gif);
		background-repeat: repeat-x;
}
Aber zum beispiel das hintergrundbild für den body wird nicht angezeigt, hier mal 2 screenshots:

So sieht das layout aus ohne contenido (rein html + css)

Bild

In contenido integriert sieht es dann so aus:

Bild

Kann mir jemand helfen? Ich würde das Problem gern beheben.

Danke im voraus für eure Tipps.

Jamest

Verfasst: Mi 2. Aug 2006, 10:17
von HerrB
Sagen wir mal so, das hat mit Contenido nix zu tun. Wo liegen denn die Bilder in Relation zum Beispiel-Mandanten (z.B. in upload/img unter cms)?

Gruß
HerrB

Verfasst: Mi 2. Aug 2006, 10:28
von Jamest
Du hast recht, und deine Aussage hat das Schwarze Brett vor meinen Augen entfernt. :)

ICh war im CSS file noch einen Pfad zu weit oben, fehlte nur noch ein ../

Danke und Gruß

Jamest