How to add ratchet icons in a select form?

278 views
Skip to first unread message

AhFreak SoftOne

unread,
Dec 30, 2014, 4:50:49 AM12/30/14
to gora...@googlegroups.com

The topic speaks for itself, but to clarify it further, I'm trying to add a ratchet icon into a select form and I'm not sure how.


For now I have it beside the <label> to check if I'm doing it correctly.
I've also tried putting the icon in the <option> tag but it's not appearing.
It doesn't appear when I added the "icon icon-caret" class in the <option> tag as well.

Any help with this would be great. Thanks.


Here's the code that I have so far:

<form>
<h4> Request Details </h4>
  <span class="icon icon-caret pull-right" style="color:#000"></span> <label>Education Level</label>
   
<select name="pref_edu_level">
   
<option value="1">Lower Primary</option>
   
<option value="2">Upper Primary</option>
</form>

Reply all
Reply to author
Forward
0 new messages