css formatting and submit fuctinality