Dosing of cephalosporins in children is generally based on body weight and the severity of the infection. It is crucial to follow appropriate pediatric dosing guidelines to minimize the risk of toxicity and ensure effective treatment. Over or under-dosing can lead to treatment failure or adverse effects.