fixed #4: selecting anchor elements sometimes leads to strange results
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.
Merge pull request #15 from exaptis/master

Provides fix for unexpected width calculation on anchor elements