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

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -