Change margin to percent