CSS codes added to form are not being saved properly