Form tableless layout : removing the inline style from

Permalink Browser Info Environment
Hello ,

This is just a quickee in case anyone else is looking to get rid of the standard inline style for textarea 95 %

This of course using the fantastic add on Form tableless layout

just add following code where you see :

if ($questionRow['inputType'] == 'text') {
$question['type'] = 'textarea';
} else if

change that to this
if ($questionRow['inputType'] == 'text') {
$question['type'] = 'textarea';
//added to get rid of inline style
$question['input'] = str_replace('style="width:95%"', '', $question['input']);
} else if

there hope I saved someone somewhere 10 mins

Type: Discussion
Status: New
Gingebean
View Replies:
jordanlev replied on at Permalink Reply
jordanlev
Thanks for posting this, looks very useful!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.