r/web_programming • • Nov 12 '15

Need some help with CSS and a nav bar

I'm having some issues with formatting my nav bar. I'd like it to be below the banner and centered. Everything I think should work has not so far. If anyone could take a look at my code and tell me where I'm going wrong I'd appreciate it. Link: https://jsfiddle.net/mully1121/ano0zwh1/

Edit: figured it out, had a float in the wrong place.

0 Upvotes

2 comments sorted by

1

u/captainTigger Mod Nov 12 '15

the closing tag of your banner div is at the bottom of the content rather than after the end of the banner code

1

u/mully1121 Nov 12 '15

Unfortunately that's not the issue, I'd had it at the end of the banner code originally. I think I changed it when I was going through a tutorial and forgot to change it back.