I want to make the div appear in center but it is always at the left side. I am using bootstrap for screen compatibility, so I didn't work with the adjusting of the left and right margins. What went wrong in the code?
Please help!
<div id="div1"
style="display: inline-block;
position: absolute; margin: 20px auto;
width: 1140px;
height: 442px;
overflow: hidden;">