The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Why is my content inside of my header?
I am just messing around with some what seemed to be simple css but can’t figure out why my content is laying nearly between my header. You can view a JSFiddle project here.
I think it’s because of not clearing the floats on .nav-bar. Add overflow: hidden for example and it’ll look a lot more as expected.
.nav-bar
overflow: hidden