So they are parallel to each other?
There are couple solutions, one of them is to use flexbox, which maybe isn’t the best, but it’s simple enough and it’s good opportunity to learn them
Add this to head-padding class
/*Make it flexbox*/ display: flex; /*Center elements vertically*/ align-items: center; /*Justify elements*/ justify-content: space-between;
Then you can remove float properties from side images since it won’t do much in flexbox anyway.
Read more about flexboxes here, I recommend checking it out. It can be useful at times
This website turning learning Flexbox into a game.