Separate names with a comma.
добавь float:left; #img { margin-top: 5%; padding-left: 5%; float:left; }