changed inline-wrap elements from div to span (due to problems with inline-display)