Traverse up parent styles to resolve percentage margins.