Zum Inhalt springen

img-Text mit csc-caption

Erstellt am 13. März 2006 · 2 Antworten · letzte Antwort am 13. März 2006

Tags: Frage

tikemyson ·

hallo,

folgendes Problem.
Ich würde gerne die Bildunterschriften selbst "stylen". Das möchte ich mittels Überschreiben der "csc-caption"-css tun.
Leider ignoriert er den eintrag in meiner CSS -Datei. Ich vermute das mein csc-caption-CSS durch das Standard csc-caption überschrieben wird. Wie kann ich diesem entgegenwirken?

Auszug aus der Seite

<p class="csc-caption">Bildbeschriftung</p

Hier mein dazugehöriges css
.csc-caption {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8px;
color:#ff0000;
line-height: 100%;
font-style: normal;
padding: 0px;
margin: 3px 0px 0px 0px;
text-align: left;
}

Auch das wird ignoriert.

p csc-caption {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 8px;
color:#ff0000;
line-height: 100%;
font-style: normal;
padding: 0px;
margin: 3px 0px 0px 0px;
text-align: left;
}

Besten Dank für's Lesen

tikemyson ·

Danke für die Antwort.
klappt aber leider auch nicht. Läuft da evtl was mit der Vererbung schief?
Wie bekomme ich den das "<p class" weg...wäre ein "<span class" bzw ein "<div class.." sinnvoller?

Gruß