# \[gelöst\] automatisch &lt;tbody&gt; in Tabellen - wie verhindern?

**URL:** <https://forum.shopware.com/t/gelost-automatisch-lt-tbody-gt-in-tabellen-wie-verhindern/16500>\
**Category:** Shopware 3.5\
**Tags:** themes--design\
**Created:** [31. Oktober 2013 um 14:47 UTC](https://forum.shopware.com/t/gelost-automatisch-lt-tbody-gt-in-tabellen-wie-verhindern/16500 "2013-10-31T14:47:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![plexynote](https://avatars.discourse-cdn.com/v4/letter/p/e495f1/32.png) [@plexynote](https://forum.shopware.com/u/plexynote)\
**Post date:** [31. Oktober 2013 um 14:47 UTC](https://forum.shopware.com/t/gelost-automatisch-lt-tbody-gt-in-tabellen-wie-verhindern/16500/1 "2013-10-31T14:47:48Z")

</div>

Hallo, Wenn ich im Beschreibungstext oder in Freitextfeldern eine Tabelle anlege, wird irgendwo in Shopware automatisch ein

-Tag hinzugefügt, der mir bei der CSS-Formatierung permanent Probleme bereitet. Wieso baut Shopware da einfach einen zusätzlichen Tag ein und wie kann ich das verhindern?

---

<div class="post-metadata">

**Author:** ![Zanktus](https://avatars.discourse-cdn.com/v4/letter/z/a587f6/32.png) [@Zanktus](https://forum.shopware.com/u/Zanktus)\
**Post date:** [1. November 2013 um 11:54 UTC](https://forum.shopware.com/t/gelost-automatisch-lt-tbody-gt-in-tabellen-wie-verhindern/16500/2 "2013-11-01T11:54:38Z")

</div>

Hallo, wie kann es denn sein, dass dir der tbody-Tag bei der CSS-Formatierung dazwischen funkt? Ob du nun: `table tbody tr td {...}` oder: `table tr td {...}` hast, sollte keine Auswirkung haben. MfG Zanktus

---

<div class="post-metadata">

**Author:** ![plexynote](https://avatars.discourse-cdn.com/v4/letter/p/e495f1/32.png) [@plexynote](https://forum.shopware.com/u/plexynote)\
**Post date:** [6. November 2013 um 15:47 UTC](https://forum.shopware.com/t/gelost-automatisch-lt-tbody-gt-in-tabellen-wie-verhindern/16500/3 "2013-11-06T15:47:46Z")

</div>

Ist aber so. table hat eine Breite von 560px, tbody errechnet sich eine Breite von 367.333px (viaFirebug ermittelt), obwohl tbody 560px Breite haben sollte. im table ist kein padding und im tbody kein margin vorhanden. Ich hab keine Ahnung, warum der tbody eine geringere Breite aufweist als das table. Die Frage zielte eigentlich darauf ab, wie der tbody-tag da rein gekommen ist. Ich hab den nämlich in der Beschreibung explizit rausgenommen. braucht kein mensch.

---

<div class="post-metadata">

**Author:** ![plexynote](https://avatars.discourse-cdn.com/v4/letter/p/e495f1/32.png) [@plexynote](https://forum.shopware.com/u/plexynote)\
**Post date:** [6. November 2013 um 16:23 UTC](https://forum.shopware.com/t/gelost-automatisch-lt-tbody-gt-in-tabellen-wie-verhindern/16500/4 "2013-11-06T16:23:21Z")

</div>

okay, ich habs. der tbody durfte kein display:block haben und die breite der Spalten musste in px und nicht in % angegeben werden. jetzt gehts.
