not 100% sure if helpful but element_width already subtracts the margins