Community & Support

How to create a horizontal navigation

frontpage:
[ Home | Create Content | Information ]

after click on "Create content":

[ Home | *Create Content*(clicked) | Information ]
{ Create Story | Create Page | ...}

i want to have the sub-navigation (expanded create content) in a new line. -> for every "main-point".

has anybody an idea how to solve that?

// like the navigation of the german amazon page http://www.amazon.de

Comments

I think if you choose

I think if you choose Expanded when you edit the menu item it should do this.

yes expanded ist one part of

yes expanded ist one part of the solution, but how to modify the menu-html? because i think that could not only done mit css :(

horizontal list tutorial

i assume the HTML around your menu is either an ol (ordered list) or a ul (unordered list). these normally appear vertically, but you can make it appear "horizontal" by using the 'display:inline' attribute in CSS for the li (list item).

there is a very good tutorial with several examples on this website below, showing the HTML and the CSS

http://css.maxdesign.com.au/listamatic/horizontal03.htm

http://css.maxdesign.com.au/listamatic/horizontal05.htm

more lists here:
http://css.maxdesign.com.au/listamatic/

good glück! ;)

-h

- Learn best practices in Acquia's Drupal training http://training.acquia.com/
- Tips on Giving effective feedback in the forums

nobody click here