---
title: "Submenü im Content-Bereich !"
url: "https://www.typo3.net/d/93922-submenue-im-content-bereich"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage","HTML & CSS"]
created: "2009-10-26"
last_reply: "2009-10-26"
replies: 0
solved: false
page: 1
pages: 1
lang: "de"
---

# Submenü im Content-Bereich !

TYPO3 › Menüs · 0 Antworten · gestartet 2009-10-26

## Eröffnungsbeitrag

**dom** · 2009-10-26 · [Beitrag #1](https://www.typo3.net/d/93922-submenue-im-content-bereich/1)

Hallo und Guten Morgen,

ich habe ein Submenü im Content-Bereich, in dem ich die einzelnen Menupunkte nach links floate, damit es zum horz. Submenü wird. Quitessenz des Ganzen ist, dass der eigentliche Content dann ans Menüende verschoben wird. Ich denke das hat mit dem Umgang mit Floats im Allgem. zu tun, für einen Tipp wäre ich dankbar.

P.S.: Wenn ich das Float left entferne, klappt alles. Demnach habe ich noch ein CLEAR: BOTH angefügt, was aber zur Entfernung des Contents führt.

TEMPLAVOILA Vorlage für die Col3:

```php
<div id="col3"><a id="content" name="content"></a>
				<div id="col3_content" class="clearfix">
				    <div id="submenu"></div>
				    <div class="floatbox"></div>
			        </div>
			</div>
                <div id="ie_clearing"> </div>
```

TS-Submenu

```typoscript
lib.submenu = HMENU
lib.submenu.entryLevel = 1
lib.submenu {
	1 = GMENU
	1.wrap = |

	1.NO = 1
	1.NO {
  align = left
  wrap = <div id="submenu_element">|</div>    
  XY = [10.w]+2,[10.h]+2

  #Submenuebild (passiv)
  
  10 = IMAGE
  10.file = GIFBUILDER
  10.file {
      XY = [10.w]+20,25
      backColor = #cccccc
      10 = TEXT
      10.text.field = title
      10.fontFile = {$tahoma}
      10.fontSize = 8
      10.fontColor = #666666
      10.offset = 0,17
   10.align = center
   }
     5 < .10
     5.file.backColor = #a4a4a4
     5.offset = 2,2
  }

	1.ACT = 1
	1.ACT {
  align = left
  wrap = <div id="submenu_element">|</div>
  XY = [10.w]+2,[10.h]+2    
  
  #Submenuebild (aktiv)
  
  10 = IMAGE
  10.file = GIFBUILDER
  10.file {
      XY = [10.w]+20,25
      backColor = #7495b5
      10 = TEXT
      10.text.field = title
      10.fontFile = {$tahoma}
      10.fontSize = 8
      10.fontColor = #666666
      10.offset = 0,17
   10.align = center
   }
     5 < .10
     5.file.backColor = #a4a4a4
     5.offset = 2,2
  }
}
```

P.S.2: Ich benutze YAML...

Danke für Eure Hilfe...
Gruss
Dom

---

Quelle: „Submenü im Content-Bereich !“, typo3.net, https://www.typo3.net/d/93922-submenue-im-content-bereich
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
