A single approach can prevent both obesity and eating disorders in teenagers, according to new guidelines.