How to center HTML content in the Text field?