WPDFD Articles: CSS Menus

started by Garydr on Oct 29, 2004 — RSS Feed

Garydr Garydr
Posts: 1

Could you explain what changes are needed to have sideways menus. My menu bar needs to go down the left edge of the page and then have the expanded menu grow over to the side and then down.

Thanks
Gary

Joe Gillespie Joe Gillespie
Posts: 528

For the relatively positioned menubar items, add a <br> (or <br /> for XHTML) to put them one above the other.

Alter the absolute positions of the menus with the margin-left and margin-top set to suit whatever you are doing. I don't think the JavaScript would be any different.

Baxter Baxter
Posts: 157

Menus are list items, so rather than use the non-semantic,. meaningless BR tabs, put them in an unordered list, then style the list as you wish.

You must login to reply