Why would Brake pedal on ford zx2 stay up with car off but go to floor when car is turned on?

Vacuum booster is working--When vehicle off there is no vacuum assist (for power brakes) When vehicle is on vacuum is present Brake pedal going to floor is another problem--no fluid in master cylinder? Leak in system? Brakes not adjusted properly?