CodePen

HTML

            
              <div>
	<input type='text'style='height:22px' />
	<img src='images/your_image.png' class='btnintext' onclick='btnclick();' />
</div>



            
          
!

↑ Insert the most common viewport meta tag

CSS

            
              .btnintext {	
	position:absolute;
	cursor:pointer;
	width:19px;
	height:20px;
	margin-left:-22px;
	padding-top:4px;
}
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              	function btnclick() {
		alert('hello');
	}

            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................