css - absolute positioned div inside of relative positioned div? -


Most people know

Using a full position on that device whose parent is set Status: Relative
Full div will cause the div to become relative to parent divis rather than body.

My question is, is there any way to remove this effect?

The IE Parent Diva needs to be set as a relative relative, so it will fit in the layout, although absolute div needs to be relative to the body, parent div No.

How can I get it?

No, you lack blocking, using status: fixed Which determines the relative position of the viewport (so it scrolls with the page).

You will need to move the whole div to the relative parent, or because of the resolution of the layout problem you can find another way to use the status: relative (If this is a hasLayout problem in IE, try other typical hacks like zoom: 1 or IE-only height: 1% ) Please.


Comments