fixed css and html for date field