In a classic modal box I have something like this:
<div id="container">
<div id="content"></div>
<div id="closeButton"></div>
</div>
with this style:
#container { position: absolute; overflow: hidden; }
#closeButton { position: absolute; top: -10px; right: -10px; }
but my close icon is obviously cropped by the parent because of overflow: hidden, but I can't set overflow:visible because the scrollbars appears on the page.
So, is there a way to make my close button positioned out of the parent but uncropped?
Thank you so much in advance, any help will be apreciated.
NOTE: it's something different from this other question, because parent element is positioned absolute, not relative!