changed spans to div so classes work