0
<nav> orientation.
When using the <nav> element how do you get the list/buttons to lay out horizontally across the page instead of vertically?
7 Answers
+ 6
https://code.sololearn.com/W2hFflstdD86/?ref=app
made small alterations to the code
notice that
li {
float: left;
}
is responsible for what you are looking for.
i made 3 buttons which change the float property of all li items to 'left', 'right', 'none'
+ 4
no probs m8
+ 2
I liked the orientation of the navigation you coded , AWESOME !!!
+ 1
Thanks for the quick answer. Apparently this is a little past my knowledge base of just starting out with HTML5. I don't see what action caused the list to fall horizontally.
+ 1
I missed that. It makes sense though. I'm working through HTML and will be moving in to CSS after so I can add some style to my page. I appreciate the help.
+ 1
float: left