Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Stuck following this youtube tutorial – positioning problem Reply To: Stuck following this youtube tutorial – positioning problem

#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