ANNAPOLIS -- Smoking in a vehicle with a child under the age of 8 would be prohibited under a bill passed by the Maryland Senate on Wednesday.

The measure would fine a driver or passenger in a vehicle with a child up to $50 if he or she is found to be smoking tobacco in the vehicle. It would not count as a moving violation and no points would be assessed to a driver's license.

The measure would not apply to a motor home while it was parked, but it would forbid smoking in a motor home while it was being driven, if a child was inside.

"I think we all agree that smoking in a car with an infant is a bad thing," said Sen. Katherine Klausmeier, D-Baltimore County. "I wish we would use as much energy as we did to pass the bill to get that message out on the TV, on the Internet."

The bill now goes to the House of Delegates for consideration.