So I have a slider and a slider wrapper. Both are absolutely positioned elements. The layout I currently have looks great on a desktop monitor (1920x1080). However not so good on a smaller laptop screen (the slider is shifted to the right and so out of center alignment). Below you will find the CSS for both the container of the slider and the slider itself.
#MasterSlider_container{
height: 570px;
position: absolute;
width: 100%;
background-color: #000;
top: 20%;
}
#slider1_container{
left: 21%;
top: 7%;
border-style: solid;
border-width: 8px;
position: absolute;
}
How do I center the slider in this div box so that when I view it on a laptop or a PC screen, it will appear in the middle completely and entirely on both viewing platforms.