I’m developing a app where I have a rails code simply like this-
<input type="text" readonly="readonly" value="<%= linkbunch_url(@link.link) %>" />
Now the value here is more than 40 characters long. But the text field only showing 33 characters. So I added ‘size’ and ‘maxlength’ attribute but it didn’t work. I also added CSS styling to the width:500px etc. But it didn’t work. By the eay I’m using twitter bootstrap in rails. So is there any method in twitter bootstrap to format this field or any simple css or html to do this??
Thanks in Advance…
reference: http://twitter.github.com/bootstrap/base-css.html#forms
You may try to add a class of any of the following: