+ 1

Styling Nav Tabs

im trying to figure out how to style the nav tabs if this beginners project, and I think I'm missing something. no matter how I label the class and tag respectively, i cant form a border around them. Can someone tell me where I went wrong? Very new to this, thank you. https://code.sololearn.com/WepwLzojje7p/?ref=app

8th Jun 2017, 3:24 PM
Terryn Bolin
Terryn Bolin - avatar
5 odpowiedzi
+ 14
Do you mean your links? It's the same... ul { border: 5px solid #DDA0DD; } [ EDIT ] I seen your code, you declared in a wrong way the class: <ul class:"nav"> Use the equal sign instead: <ul class = "nav"> And in your CSS use the point sign for access to that class: .nav { border: 5px solid #DDA0DD; }
8th Jun 2017, 3:59 PM
Maz
Maz - avatar
+ 11
You forgot to specify the type of your border. /* FIX */ border: 5px solid #DDA0DD;
8th Jun 2017, 3:42 PM
Maz
Maz - avatar
+ 1
thanks Maz! i got it to work for the h4, tyvm. would you mind showing me how you would label the navigation section in CSS? I cant get it to show up :(. thanks again
8th Jun 2017, 3:57 PM
Terryn Bolin
Terryn Bolin - avatar
+ 1
THERE that' what i was missing. thank you so much!! i got it to work without declaring the class but ill do that next. thanks again! https://code.sololearn.com/WepwLzojje7p/?ref=app
8th Jun 2017, 4:04 PM
Terryn Bolin
Terryn Bolin - avatar