Zum Inhalt springen

Wrap um CE

Erstellt am 28. Mai 2015 · 6 Antworten · letzte Antwort am 29. Mai 2015

Tags: Inhaltselemente, TYPO3 6.x, Frage

rolk ·

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

ejoo ·

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:

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

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

rolk ·

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

So sollte es aussehen.

<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>
rolk · · Beste Antwort

So hats funktioniert

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