I have a div width is 800px in the center aligned with:
min-height:800px;
margin-left:auto;
margin-right:auto;
I have a div on the right of it which is fixed like:
left:50%;
padding-left:400px;
position:fixed;
But now the div is over the main content.
So if there is a button in main content I can't click it because the fixed div is over it.
I have tried giving it a lower z-index, but if I do that I can't click the buttons on the side div.
Is it possible to give it a margin left:50% + 400px;
so I don't need padding?