Check out the jsfiddle link provided:
I'm trying to align the Image, content, and Amount in the same line. How can I achieve this?
The goal is to have "150" displayed on the same line as the picture.
var HTML = $('<div class="cart" id="mee"></div>');
var test = $("#imagesd").attr('src');
var id_attr = $(this).attr("id");
HTML.append('<input id_attr="'+id_attr+'" type="checkbox" checked id= "newer" class="newer item_chk" name="item_check" value="'+$(this).attr('value')+'"/>'+$(this).attr('value')) ;
HTML.append('<img type="img" height="40" width="40" src="'+imagesrdd+'"/>') ;
HTML.append('<div id_attr="'+id_attr+'">'+amountdd+'</div>');
Please refer to the image linked here for context: