Take margin values relative to parent if float fixes #702