Add background styling to math div