Hi Jquery Community :)
I'm trying to add an icon to each post and I want to put icon in each item. I want the size of each item in the list to be determined by the text inside and not the image and the image should stretch if it there is alot of text.
Code:
-
- <div id="scroll" data-role="content" class="ui-scrolllistview ">
- <ul id="vehicleSearchResults" data-role="listview" class="ui-listview">
- <li data-theme="a" class=" ui-btn-icon-right ui-li-has-arrow ui-li ui-li-has-thumb">
- <img alt="" src="image.jpg" class="ui-li-thumb"/>
- <h3 class="ui-li-heading">Broken Bells</h3>
- <p class="ui-li-desc">Broken Bells</p>
- </li>
- </ul>
- </div>
I added the image, sorry for the horrible editing. In the Red circle, the item becam larger than I wanted and the blue has the image smaller than I wanted.

Any Ideas?