dynamic element alignment & formatting