Home › Forums › CSS › Stuck following this youtube tutorial – positioning problem › Reply To: Stuck following this youtube tutorial – positioning problem
January 23, 2016 at 4:09 am
#237202
Atelierbram
Participant
Because it contains floats, the outer container collapses; it needs to be cleared too:
.menu-primary-menu-links-container {
/* clear: both; */
overflow: auto;
}
but if you fix the typo in the clearfix, then this isn’t even needed: there should be no space in between element/colon/colon/pseudo-element, element::after