2
I need something like this:
<input type="image" src="~/Images/meu-icone.png" style="max-height: 15px;" class="dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<ul class="dropdown-menu">
<li><a href="#">5</a></li>
</ul>
</input>
this even works, but gets broken, because a input can’t have a ul inside. The idea is to click on the image and open the list below to select some option.
Really, it doesn’t exist. Put the
marginand thepaddingofulworthwhile0in the CSS. Alsolist-style:none.– Diego Souza
Does the image really need to be inside a UL? Or is it expected that by clicking on the image open a dropdown menu below? Your question is not well formulated, as its code contradicts the title of the question.
– felipsmartins
@felipsmartins this ai! When clicking on the image I want to open a combobox.
– Luiz Negrini