title: Rails Simpleform setting the width of a form input element
body: <p>I'm using the gem simpleform inside a table</p>
  
  <p>I want to adjust the width of each form element of the simple form can I do that?</p>
  
  <p>I tried the following but it doesn't seem to work</p>
  
  <pre><code>    &lt;td&gt;&lt;%= listing.name %&gt;&lt;/td&gt;
  &lt;td&gt;&lt;%= f.input :suite, :input_html =&gt; { :size =&gt; 10, :maxlength =&gt; 10 } %&gt;&lt;/td&gt;
  </code></pre>
  
  <p>I looked at the simpleform documentation here but couldn't find how to specifically set the width. Here is what my form inside a table looks like. I'd like to make the columns narrower.</p>
  
  <p><img src="https://i.stack.imgur.com/0mfPY.png" alt="enter image description here"></p>
  
  <p>As you can see the column widths are very wide. Please advise how to make them the appropriate size so they don't take too much space.</p>