Help with css nav [Solved] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Help with css nav [Solved]

I'M trying to make a vertical menu, but the buttons instead of having a percentage of the total size of the Nav container are the same size. https://code.sololearn.com/WgNVE3yYZVwZ/?ref=app

30th Mar 2019, 7:24 PM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
4 Answers
+ 4
I Close the post, I repaired with JQuery thanks to your solution. You Can enter and view the code in Javascript if you have a similar problem.
30th Mar 2019, 7:54 PM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
+ 4
Bruno Costa Yes, but with your solution, when i add more buttons not work...
30th Mar 2019, 7:41 PM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
+ 3
I was just making sure that was the problem with a quick fix, try removing height = 100% from .a and .b and adding more nav items
30th Mar 2019, 7:52 PM
Bruno Costa
Bruno Costa - avatar
+ 2
I'm not sure what you mean is this what you want to happen? https://code.sololearn.com/WS9hNUfM001B/#html
30th Mar 2019, 7:38 PM
Bruno Costa
Bruno Costa - avatar