@import url("base.css"); #gallery2 ul li{ list-style-type: none; display: inline-block; border: ridge; margin-right: 40px; } #mainimage { margin-left: auto; margin-right: auto; width: 55%; display: block; border: ridge; } #gallery1 ul li{ list-style-type: none; display: inline-block; border: ridge; margin-right: 40px; margin-bottom: 40px; } h2 { color: black; font-size: 40px; text-decoration: underline; } .fa { padding: 20px; font-size: 50px; width: 75px; text-align: center; text-decoration: none; float: left; display: right; position: fixed; }