title: Changing width of textbox using css
body: <p>I have css class like this:</p>
  
  <pre><code>.new-fld input[type="text"]{width:418px !important; margin-bottom:0px !important; height:18px !important; background-color:transparent !important; color:#FFF !important; border-bottom:1px solid #FFF; border-left:none !important; border-right:none !important; border-top:none !important; font-size:14px; /*padding:0 8px;*/}
  </code></pre>
  
  <p>It is applied to all the input filds on page.</p>
  
  <p>I want some fields length to be different so I created another class like this</p>
  
  <pre><code> .new-fld input[type="text"]{width:45px !important; margin-bottom:0px !important; height:18px !important; background-color:transparent !important; color:#FFF !important; border-bottom:1px solid #FFF; border-left:none !important; border-right:none !important; border-top:none !important; font-size:14px; /*padding:0 8px;*/}
  </code></pre>
  
  <p>and applied it like this</p>
  
  <pre><code>   &lt;div class="new-fld"&gt;
                                          &lt;input type="text" value="+44 1793 853219" name=""&gt;
                                            &lt;input type="text" value="+ 44" readonly="readonly" name="Dialprefix1" id="Dialprefix1" class="dialprefix" style="text-align:right;width:45px;"&gt;
  
                                          &lt;span&gt;*&lt;/span&gt;                                        
                                          &lt;/div&gt;
  </code></pre>
  
  <p>As you can see, I entered width in textbox style but still it is not working.</p>
  
  <p>but It is not working. Please suggest me good solution to it.</p>