The class input / add button is marked with

Hi, StackOverflow community, I am creating a twitter bootstrap 2.0.4 based site on a specific page. I want to attach a button to an input. the problem is that the display is with the difference between the input and the button.

I am sure that this is what I do not see, but I can not determine what it is.

EDIT . Some styles, such as disabled and unedited, do not apply correctly on the page.

EDIT 2 : Apparently .disabled and .uneditable-input work.

JFiddle: http://jsfiddle.net/sHGtb/

JFiddle Full Screen Result: http://jsfiddle.net/sHGtb/embedded/result/

any help?

HTML

<!DOCTYPE html>
<html>
<head>
    <title>Page Title</title>
    <meta charset="utf-8">
    <link rel="stylesheet" type="text/css" href="http://localhost/test/index.php/../css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="http://localhost/test/index.php/../css/bootstrap-responsive.min.css">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <!--[if lt IE 9]>
        <script src="../../js/html5shiv.js"></script>
    <![endif]-->
    <script type="text/javascript" src="http://localhost/test/index.php/../js/modernizr.js"></script>
</head>
<body>
    <div class="container">
        <form class="form-horizontal">
            <fieldset>
                <hr/>
                <h4>Puesto</h4>
                <p>Debe estar asignado segun su perfil, solo los administradores pueden cambiar esta opcion; si existiese alguna irregularidad debe solicitar reportelo al administardor.</p>
                <div class="control-group">
                    <label for="puesto" class="control-label">Puesto</label>
                    <div class="controls">
                        <div class="input-append">
                            <input type="text" name="puesto" class="input-xlarge" />
                            <button class="btn" type="button"><i class="icon-search"></i></button>
                        </div>
                    </div>
                </div>
                <hr/>

            </fieldset>
        </form>
    </div>  
    <script language="javascript" type="text/javascript" src="http://localhost/test/index.php/../js/jquery-1.7.2.min.js"></script>
    <script language="javascript" type="text/javascript" src="http://localhost/test/index.php/../js/bootstrap.min.js"></script>
</body>
</html>

Screenshots of the problem

+5
source share
2

, , :-P

      <div class="control-group">
                <label for="puesto" class="control-label">Puesto</label>
                <div class="controls">
                    <div class="input-append">
                        <input type="text" name="puesto" class="input-xlarge" /><button class="btn" type="button"><i class="icon-search"></i></button>
                    </div>
                </div>
            </div> 
+18

, ? - ...

<input type="text" name="puesto" class="input-xlarge" style="margin-right:0;"/>
<button class="btn" type="button" style="margin-left:0;"><i class="icon-search"></i></button>

, CSS .

0

All Articles