Just adding that I had a similar problem and thought it was a Javascript/Jquery issue. This thread solved for me.
INLINE elements have no width, so you cannot set it via js.
Thanks.
Here's a link to my issue just in case.
Jquery and Jqueryui: set width not working after using resizable?