updating css to be relative