updated css manager to set min-width, max-width, min-height and max-height