I am looking for a way to have an element with relative positioning without its child element (using position:absolute
) inheriting relative width from the parent.
Take for example this scenario: http://jsfiddle.net/t2yJP/. How can I achieve the second body>div
to have position:relative
, while still maintaining the child's width behavior?