I am working on a project with the given code: http://jsfiddle.net/domoindal/fkcQK/
My goal is to make the border of the menu bar fit perfectly around its content. For example, if there are three tags, I want the width of the div to match the sum of those three tag widths, without extending beyond them.
In addition to this, my next step is to create a shadow effect around the resulting irregular shape, instead of a traditional box shadow.
Do you think it's possible to achieve these effects as I described?
Thank you for your help.