<a href="#" class="dropdown-toggle" data-toggle="dropdown" style="text-decoration: none">
<span class="criteria">any</span>
<span class="caret" style="margin-top:6px;"></span>
</a>
The code snippet above displays the text "any ▼".
I am trying to adjust the positioning of the caret to be right below the anchor text, similar to the following:
any
▼
UPDATE : I have additional text following the anchor and caret, but I want them to be on the same line.
before anchor text any text following the anchor
▼
The anchor text "any" is part of a dropdown within a sentence, and I want the caret to be directly below the anchor text, but on the same line
UPDATE 2 : code snippet with surrounding elements
<div class="control-group">
<div class="controls dropdown">
Create backup if
<a href="#" class="dropdown-toggle" data-toggle="dropdown" style="text-decoration: none">
<div class="criteria">any</div>
<div class="caret" style="margin-top:6px;display: inline-block"></div>
</a>
<ul class="dropdown-menu" id="selector"
style="text-decoration: none;left: 18%;min-width: 65px;">
<li><a title="any">any</a></li>
<li><a title="all">all</a></li>
</ul>
of the following are true:
</div>
</div>