Hello I have a large CCK from that uses SIN. I have set the field size to various values, currently 20, but the size I set is not reflected in the form. Rather than 20 char it seems set to 100%. This is the only field that has this trouble.

Comments

selvakumar’s picture

This style problem. Inspect that field and it may be set width: 100%; Change it to auto. width: auto;
It will work

tomdavidson’s picture

Yes, style just dont understand why its only SIN that I have the issue with. Can you help with the styling a bit more? In the HTML I have:

<input type="text" maxlength="128" name="field_student_sin[0][value]" id="edit-field-student-sin-0-value" size="20" value="" class="form-text required sin-field-textfield">

In my element inspector there is:

.node-form .form-text {
display: block;
width: 95%;
}

If I change the width to be auto or even disable the setting the SIN field appears as it should. I have tried several over-rides in my local.css with out success. I do not understand the issue and css well enough to resolve. Thanks, tom