A husband or wife declared to be chargeable with the support of his or her spouse and children, if possessed of sufficient means or able to earn such means, may be required to pay for their support a fair and reasonable sum according to his or her means, as may be determined by the court.