css - making an image stick relative to other elements while page zooms in or out -


i have image, white rectangle, i'm trying use screen between top layer logo , text below.

the logo part of header , acts 'sticky' - not moving when y-scrolling page.

what i'm failing @ making rectangle stay fixed relative it's parent (the header) when zooming takes place.

instead, rectangle floats away each zoom.

header position fixed, img absolute.

p.s. tried searching answer. above setting taken from: can position element fixed relative parent?

please kindly help, yaron h.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -