Input prepend fix in documentation

This commit is contained in:
grevory 2012-11-22 21:17:43 -05:00
parent ee55c859d2
commit 38b654ab1d
2 changed files with 8 additions and 14 deletions

View File

@ -1028,7 +1028,7 @@ select:focus:required:invalid:focus {
position: relative; position: relative;
margin-bottom: 0; margin-bottom: 0;
*margin-left: 0; *margin-left: 0;
vertical-align: middle; vertical-align: top;
-webkit-border-radius: 0 3px 3px 0; -webkit-border-radius: 0 3px 3px 0;
-moz-border-radius: 0 3px 3px 0; -moz-border-radius: 0 3px 3px 0;
border-radius: 0 3px 3px 0; border-radius: 0 3px 3px 0;
@ -1056,7 +1056,7 @@ select:focus:required:invalid:focus {
line-height: 21px; line-height: 21px;
text-align: center; text-align: center;
text-shadow: 0 1px 0 #ffffff; text-shadow: 0 1px 0 #ffffff;
vertical-align: middle; vertical-align: top;
background-color: #eeeeee; background-color: #eeeeee;
border: 1px solid #ccc; border: 1px solid #ccc;
} }

View File

@ -648,16 +648,14 @@
<div class="control-group"> <div class="control-group">
<div class="controls"> <div class="controls">
<div class="input-prepend"> <div class="input-prepend">
<span class="add-on"><i class="icon-envelope"></i></span> <span class="add-on"><i class="icon-envelope"></i></span><input class="span2" id="inputIcon" type="text" placeholder="Email address">
<input class="span2" id="inputIcon" type="text" placeholder="Email address">
</div> </div>
</div> </div>
</div> </div>
<div class="control-group"> <div class="control-group">
<div class="controls"> <div class="controls">
<div class="input-prepend"> <div class="input-prepend">
<span class="add-on"><i class="icon-key"></i></span> <span class="add-on"><i class="icon-key"></i></span><input class="span2" id="inputIcon2" type="text" placeholder="Password">
<input class="span2" id="inputIcon2" type="text" placeholder="Password">
</div> </div>
</div> </div>
</div> </div>
@ -930,12 +928,10 @@
<p> <p>
<form> <form>
<div class="input-prepend"> <div class="input-prepend">
<span class="add-on"><i class="icon-envelope"></i></span> <span class="add-on"><i class="icon-envelope"></i></span><input class="span2" type="text" placeholder="Email address">
<input class="span2" type="text" placeholder="Email address">
</div> </div>
<div class="input-prepend"> <div class="input-prepend">
<span class="add-on"><i class="icon-key"></i></span> <span class="add-on"><i class="icon-key"></i></span><input class="span2" type="password" placeholder="Password">
<input class="span2" type="password" placeholder="Password">
</div> </div>
</form> </form>
</p> </p>
@ -944,12 +940,10 @@
<pre class="prettyprint linenums"> <pre class="prettyprint linenums">
&lt;form&gt; &lt;form&gt;
&lt;div class="input-prepend"&gt; &lt;div class="input-prepend"&gt;
&lt;span class="add-on"&gt;&lt;i class="icon-envelope"&gt;&lt;/i&gt;&lt;/span&gt; &lt;span class="add-on"&gt;&lt;i class="icon-envelope"&gt;&lt;/i&gt;&lt;/span&gt;&lt;input class="span2" type="text" placeholder="Email address"&gt;
&lt;input class="span2" type="text" placeholder="Email address"&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;div class="input-prepend"&gt; &lt;div class="input-prepend"&gt;
&lt;span class="add-on"&gt;&lt;i class="icon-key"&gt;&lt;/i&gt;&lt;/span&gt; &lt;span class="add-on"&gt;&lt;i class="icon-key"&gt;&lt;/i&gt;&lt;/span&gt;&lt;input class="span2" type="password" placeholder="Password"&gt;
&lt;input class="span2" type="password" placeholder="Password"&gt;
&lt;/div&gt; &lt;/div&gt;
&lt;/form&gt; &lt;/form&gt;
</pre> </pre>