display:inline resets height and width

后端 未结 4 1366

I have created example at http://jsfiddle.net/GKnkW/2/

html




    Test
 <         


        
4条回答
  •  情话喂你
    2020-11-30 11:39

    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?

提交回复
热议问题