.modal2 { position: fixed; _position: absolute; z-index: 11; width: 600px; padding: 40px; background-color: #fff; } .modal2 a.close { position: absolute; top: 10px; right: 10px; cursor: pointer; } div.photo { text-align: center; position: relative; zoom: 1; overflow: hidden; } div.photo a.next { float: right; position:relative; right: 130px; } div.photo a.prev { float: left; position:relative; left: 130px; } div.photo p { padding: 10px 0 30px 0; clear:both; }