-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Google to discontinue the Basic HTML version of Gmail next year
By Chasethebase,
- 1 reply
- 4 views
-
- 0 replies
- 5 views
-
Google Chrome 108 is coming today with lots of deprecations and improved COLRv1 support
By Usama Jawad96,
- google chrome
- (and 6 more)
- 1 reply
- 5 views
-
Get this Price Dropped Coding 101 Bootcamp Beginners Bundle for only $24.99
By News Staff,
- zenva academy
- coding 101
- (and 11 more)
- 1 reply
- 6 views
-
- 0 answers
- 3,047 views
-
Question
Axel
What I'm having difficulty with is that I want to make the menu do several things if it all possible:
1) Span the whole nav menu to the width of whatever the container div is.
2) Automatically space the list items in the top menu evenly without having to specify.
3) Wrap the text when required (only managed to achieve this so far by specifying width.)
4) When the menu item is a single word on a single line, align it vertically, not towards the top as it is now!
5) Ignoring the submenu items for the moment.
I've dumped the code here and you can see the current result:
http://jsfiddle.net/b2bUV/
css:
html:
Link to comment
Share on other sites
13 answers to this question
Recommended Posts