May 7, 201313 yr Hi, I hope someone can help. I'm using drupal and a web developer has got the following code for 3 field columns: .field-group-3-columns>div,.field-group-3-columns>fieldset { float: left; width: 32%; margin-right: 1%;}.field-group-3-columns>div:last-child,.field-group-3-columns>fieldset:last-child { margin-right: 0;}.field-group-3-columns>div input,.field-group-3-columns>fieldset input { width: 90%;} When I add a field in the 1st column's field group, it moves accross into it's own column. Could it be to do with the length of this field, as it's longer than the others? What do I need to adjust to fix this, without reducing the size of the new field?
May 7, 201313 yr Hi. You could try to give the coloum a overflow hidden propperty. But then the containing element might get "cropped". Why not ajust the size so it fits the coloum?
May 7, 201313 yr You say that when you add a new field it's width expands the coloum, but you dont want to resize the field? I was just wondering why.
May 7, 201313 yr Author Its actually the type of field which is different. The others are regular text fields, and the new field is an autocomplete text field. By default they are both different sizes. I actually didnt realise I could adjust the physical size of the fields, but it looks like I can. I'll try it out this evening and will let you know. Thanks for your help.
May 16, 201313 yr By default for individual fields in drupal you use find the id then the class. For example: #id .class-field-example{ width:20%; } Edited May 16, 201313 yr by mylocaltrades
Create an account or sign in to comment