Setting overflow to hidden on spans.