---
title: "Menü und CSS"
url: "https://www.typo3.net/d/30877-menue-und-css"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage"]
created: "2005-09-28"
last_reply: "2005-09-30"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# Menü und CSS

TYPO3 › Menüs · 2 Antworten · gestartet 2005-09-28

## Eröffnungsbeitrag

**TeisT** · 2005-09-28 · [Beitrag #1](https://www.typo3.net/d/30877-menue-und-css/1)

Hallo!

Ich habe das modern template building tutorial 1 durch und wollte nun etwas Praxis haben, aber nun stoße ich schon auf das erste Problem.

So soll das Layout ungefähr aussehen:
[Bild](http://www.zweihochacht.de/layout.jpg)

Mit dem Autoparser hat das auch ganz gut geklappt.Das Menü oben rechts wird zwar angezeigt aber ich bekomme es über das stylesheet nicht formatiert.

<http://www.zweihochacht.de/typo.css>

Ist dort noch irgendwas falsch definiert?

Und bekomme ich die zweite Ebene (links) durch Offset verschiebung hin oder würde das jemand anders machen?

aktueller Stand: [hier](http://www.typo.zweihochacht.de)

```typoscript
# Configuring the Auto-Parser for main template:
plugin.tx_automaketemplate_pi1 {
# Read the template file:
content = FILE
content.file = fileadmin/zweihochacht/zweihochacht.html
# Here we define which elements in the HTML that
# should be wrapped in subpart-comments:
elements {
BODY.all = 1
BODY.all.subpartMarker = DOCUMENT_BODY
HEAD.all = 1
HEAD.all.subpartMarker = DOCUMENT_HEADER
HEAD.rmTagSections = title
DIV.all = 1
}
# Prefix all relative paths with this value:
relPathPrefix = fileadmin/zweihochacht/
}



# Menu 1 cObject
temp.menu1 = HMENU
# First level menu-object, textual
temp.menu1.1 = TMENU
temp.menu1.1 {
# Normal state properties
NO.allWrap = <div class="a.menu1No"> | </div>
# Enable active state and set properties:
ACT = 1
ACT.allWrap = <div class="a.menu1Act"> | </div>
}


# Main TEMPLATE cObject for the BODY
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <body>-tags
workOnSubpart = DOCUMENT_BODY
# Substitute the ###menu_1### subpart with some example content:
subparts.menu1 < temp.menu1


# Substitute the ###content### subpart with some example content:
subparts.content <styles.content.get


}
# Main TEMPLATE cObject for the HEAD
temp.headTemplate = TEMPLATE
temp.headTemplate {
# Feeding the content from the Auto-parser to the TEMPLATE cObject:
template =< plugin.tx_automaketemplate_pi1
# Select only the content between the <head>-tags
workOnSubpart = DOCUMENT_HEADER
}
# Default PAGE object:
page = PAGE
page.typeNum = 0
# Copying the content from TEMPLATE for <body>-section:
page.10 < temp.mainTemplate
# Copying the content from TEMPLATE for <head>-section:
page.headerData.10 < temp.headTemplate
```

## Antworten

### [#2](https://www.typo3.net/d/30877-menue-und-css/2) · TeisT · 2005-09-28

ok. [Hier](http://www.typo3.zweihochacht.de) ist der aktuelle Stand!

### [#3](https://www.typo3.net/d/30877-menue-und-css/3) · TeisT · 2005-09-30

Keiner eine Idee?

Bin mir ziemlich sicher, dass mit der CSS-Datei irgendwie etwas falsch definiert ist. Die formatierung passt nicht, weil kein <a> Tag definiert ist...

Leider wird's im Tutorial nicht wieter erläutert.

---

Quelle: „Menü und CSS“, typo3.net, https://www.typo3.net/d/30877-menue-und-css
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
