Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to make a textbox same width for all browsers
    text
    copied!<p>I have a textbox in a fixed width. I'm struggling with browser compatibility. When I fix the width in Firefox,Chrome do not show proper,it show more lenght towards right. </p> <p>UPDATED My code</p> <p>HTML</p> <pre><code>&lt;form name="welcomeDiv1" id="welcomeDiv1"&gt; &lt;tr class="unsortable" &gt; &lt;tr&gt; &lt;td&gt; &lt;input type="text" class="textbox_form" name="content" id="content" /&gt; &lt;/td&gt; &lt;td&gt; &lt;input type="text" class="textbox_form2" name="content2" id="content2"/ &gt; &lt;/td&gt; &lt;td&gt; &lt;input type="text" class="textbox_form3" name="content3" id="content3"/ &gt; &lt;/td&gt; &lt;td&gt; &lt;input type="text" class="textbox_form4" name="content4" id="content4" /&gt; &lt;/td&gt; &lt;td&gt; &lt;input type="text" class="textbox_form5" name="content5" id="content5"/ &gt; &lt;/td&gt; &lt;td&gt; &lt;input type="text" class="textbox_form6" name="content6" id="content6" /&gt; &lt;/td&gt; &lt;td&gt; &lt;input type="submit" class="textbox_form7" value="+" name="submit" class="globalinsert_button"/&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/form&gt; </code></pre> <p>CSS</p> <pre><code>.textbox_form { margin:0 0 0 1px; width:162px; height:30px; background-color:#C2FFC2; } .textbox_form2 { margin:0 0 0 -3px; width:329px; height:30px; background-color:#C2FFC2; } .textbox_form3 { margin:0 0 0 -3px; width:386px; height:30px; background-color:#C2FFC2; } .textbox_form4 { margin:0 0 0 -3px; width:138px; height:30px; background-color:#C2FFC2; } .textbox_form5 { margin:0 0 0 -2px; width:158px; height:30px; background-color:#C2FFC2; } .textbox_form6 { margin:0 0 0 -2px; width:204px; height:30px; background-color:#C2FFC2; } .textbox_form7 { margin:0 0 0 17px; } </code></pre> <p>I need textbox to be placed exactly in same in all browsers. but it still remains the same issue</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload