css - How to make an element not extend the parent div's scrollable area? -



css - How to make an element not extend the parent div's scrollable area? -

i have tooltips elements might big - big can't position them on side of cursor without going outside of page. there way prevent scrollbars appearing in case (besides setting body overflow:hidden)?

i think should possible create fullscreen div contain tooltips, , set have overflow hidden, i'm hoping there improve solution.

update: okay pretty simple. append next div body , place tooltips within it.

.tooltip-body { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: none; }

css

Comments

Popular posts from this blog

python - How to add an model instance to a django queryset? -

Using Android Volley to post an array to PHP -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -