---
title: "img-Text mit csc-caption"
url: "https://www.typo3.net/d/39394-img-text-mit-csc-caption"
source: "typo3.net"
tags: ["Frontend","Styling","Frage","Inhaltselemente"]
created: "2006-03-13"
last_reply: "2006-03-13"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# img-Text mit csc-caption

Frontend › Styling · 2 Antworten · gestartet 2006-03-13

## Eröffnungsbeitrag

**tikemyson** · 2006-03-13 · [Beitrag #1](https://www.typo3.net/d/39394-img-text-mit-csc-caption/1)

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

```html
<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

## Antworten

### [#2](https://www.typo3.net/d/39394-img-text-mit-csc-caption/2) · woida · 2006-03-13

Dann probier doch mal:
p.csc-caption

<http://www.css4you.de> zeigt wies geht.

### [#3](https://www.typo3.net/d/39394-img-text-mit-csc-caption/3) · tikemyson · 2006-03-13

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ß

---

Quelle: „img-Text mit csc-caption“, typo3.net, https://www.typo3.net/d/39394-img-text-mit-csc-caption
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
