styling and fixing the template table area