Provides fix for unexpected width calculation on anchor elements

By default anchor elements are rendered with `display: block`, so when jQuery's width() method is called on such element, its parent elements with is taken. Changing this to `display:inline-block` and setting `white-space:nowrap` fixes the width problem.