html - DIVs positioned absolute dissapear in scrollable DIV -


i have scrollable div has lines of information (textarea's), divs, 1 of top of another.

the scroll 300 x 400 px, can have lot of lines in (div elements).

for each div line of information have small div lets user click on yes / no delete line of information.

i hide of these "deletion" divs, show 1 of them, when user clicks on "delete" button particular line of information.

problem comes because position nicely "deletion yes/no div" above each line of information, position:absolute. relative , fixed not work me because break nice alignment have in "outer" div holds this.

for 1st visible eye entries (lines of information) "deletion" div each of them looks ok (with position:absolute), when scroll down div, don't show no more. main problem.

how can deal problem ?

i needed cast "nicely done delete div", kept position:absolute div, had set position:relative, that, styling.

this way "outer" div positioned relative keeping track other elements in main scrolling div, , absolute inside position nicely on top, margin-left, or margin-top etc.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -