+ 2

How do i make a nav bar align horizontally

7th Mar 2017, 10:27 PM
Brian Hoeft
Brian Hoeft - avatar
5 Respostas
+ 2
nav{border-style:solid;align:horizontal;} <nav > <ul > <li>page 1</li> <li>page 2</li> <li>page 3</li> </ul> </nav
7th Mar 2017, 10:43 PM
Brian Hoeft
Brian Hoeft - avatar
+ 1
Without your code that will be complicated to explain...
7th Mar 2017, 10:34 PM
Geoffrey L
Geoffrey L - avatar
+ 1
nav{border-style:solid;align:horizontal;} <nav > <ul > <li>page 1</li> <li>page 2</li> <li>page 3</li> </ul> </nav
7th Mar 2017, 10:42 PM
Brian Hoeft
Brian Hoeft - avatar
+ 1
try to use this css: ul{float: left;}
7th Mar 2017, 10:44 PM
Geoffrey L
Geoffrey L - avatar
0
trying to align the ul from fright to left under a header tag I want it to have a width of 100%
8th Mar 2017, 11:38 AM
Brian Hoeft
Brian Hoeft - avatar