#container { margin: 2em 0em 3em 0em; width: 100%; } .snapshots img { width: 22%; height: 22%; padding: 3% 6% 3% 0; }