The Local Government Association predicted a widening funding gap as elderly care takes up council budgets.