Link to home
Start Free TrialLog in
Avatar of ITsolutionWizard
ITsolutionWizardFlag for United States of America

asked on

UI in Bootstrap

I have the following codes from W3 school and it works fine.
But when I try to add glyphicon. like : <span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>

The input group addon icon is shown below the <input> and it should be inside of <input>

Can you show me how to make it?

  <div class="form-group">
        <label class="control-label col-sm-2" for='@i.QuestionControlID'>
            @i.QuestionHtmlLabel
                    @if (i.QuestionHtmlIsRequired == "Required")
                    {
                    <font color="red">*</font>
                    }
                </label>
        <div class="col-sm-10">
                <input data-toggle="tooltip" title="Hooray!" value="" class="form-control" type="@i.QuestionHtmlType" placeholder="@i.QuestionHtmlPlaceHolder" id="@i.QuestionControlID" @i.QuestionHtmlIsRequired />                
        </div>
    </div>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Bill Prew
Bill Prew

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial