---
title: "Wrap um CE"
url: "https://www.typo3.net/d/120287-wrap-um-ce"
source: "typo3.net"
tags: ["Allgemein","Frage","Inhaltselemente","TYPO3 6.x"]
created: "2015-05-28"
last_reply: "2015-05-29"
replies: 6
solved: true
page: 1
pages: 1
lang: "de"
---

# Wrap um CE

Allgemein · 6 Antworten · gelöst · gestartet 2015-05-28

## Frage

**rolk** · 2015-05-28 · [Beitrag #1](https://www.typo3.net/d/120287-wrap-um-ce/1)

Hallo, ich möchte auf meiner Seite um das Inhaltselement Table einen Div container ziehen.

Was muss ich ins TS schreiben damit ein wrap um dieses CE angelegt wird.

Danke

## Beste Antwort

**rolk** · 2015-05-29 · [Beitrag #4](https://www.typo3.net/d/120287-wrap-um-ce/4)

So hats funktioniert

tt_content.table.wrap = <div class="ce_table">|</div>

## Antworten

### [#2](https://www.typo3.net/d/120287-wrap-um-ce/2) · ejoo · 2015-05-28

Hallo rolk,
etwas mehr info ist schon nötig. Ein div zieht Typo3, sofern Du mit css_styled_content arbeitest, um jedes Inhaltselement, das kannst Du leicht mit dem Firebug überprüfen, z.B:

```html
<div id="c5" class="csc-default">
```

Die id ist natürlich eindeutig. Wofür brauchst Du ein anderes div?
LG
Dirk

### [#3](https://www.typo3.net/d/120287-wrap-um-ce/3) · rolk · 2015-05-29

Dieses div bezieht sich aber nur auf das jeweilige CE.
Ich möchte es aber global stylen.

So sollte es aussehen.

```html
<div id="meine klasse">
<div class="csc-frame csc-frame-frame1" id="c2424">
<div class="csc-header csc-header-n3"><h2>Technische Daten</h2></div>
<table class="contenttable contenttable-0"> ........  </table>
</div>
</div>
```

### [#4](https://www.typo3.net/d/120287-wrap-um-ce/4) · rolk · 2015-05-29 · Beste Antwort

(Text siehe oben unter „Beste Antwort“.)

### [#5](https://www.typo3.net/d/120287-wrap-um-ce/5) · ejoo · 2015-05-29

schön, das Du die Lösung hier postest :)
LG
Dirk

### [#6](https://www.typo3.net/d/120287-wrap-um-ce/6) · ejoo · 2015-05-29

schön, das Du die Lösung hier postest :)
LG
Dirk

### [#7](https://www.typo3.net/d/120287-wrap-um-ce/7) · Chrissli · 2015-05-29

schön, das Du die Lösung hier postest:)

---

Quelle: „Wrap um CE“, typo3.net, https://www.typo3.net/d/120287-wrap-um-ce
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
