.close{ position: absolute; top: -15px; right: -15px; float: right; border: 0px solid red; margin: 3px; padding: 3px; width: 25px; height: 25px; font-color: red; font-weight: bold; background: transparent; } .box{ font-size:20px; background-color:white; border:2px solid blue; height:200px; padding:10px; box-shadow: 5px 5px 2px #888888; z-index: 1; position: absolute; margin: 5px; top: 200px; left: 25%; } } 

25815