Closed (fixed)
Project:
Webform
Version:
7.x-3.18
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2012 at 14:21 UTC
Updated:
18 Jun 2013 at 00:08 UTC
I created a textarea in a new webform, and set the textarea's width parameters to 50, but it has no effect, the size of this textarea is 100%.
Firebug shows, that in "modules/system/system.base.css" in ".form-textarea-wrapper textarea" the "width: 100%;" value causes this issue. If I delete this value in Firebug, the size of the textarea will be correct.
This is a clear Drupal 7.14 and Webform 7.x-3.18 installation and I use Bartik 7.14 theme.
How can i solve this issue?
Thank you.
Comments
Comment #1
quicksketchAs mentioned in the description of the textarea "Width" setting field: "This property might not have a visual impact depending on the CSS of your site."
Webform can't help that your theme is overriding the default behavior of the HTML it is outputting. To disable Bartik's 100% width on textarea, you'll probably need to add something like this to your CSS:
Or of course you could simply remove the width: 100% added by Bartik.
Comment #2
quicksketch