With your code the simplest way would be to use asterix as a selector to select all the elements inside the footer and give them the display: inline-block style like this (before the display attribute was given only to the footer-container):