function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

inputTextarea richText inline style

Can someone try the inputTextarea tag and see if the style attribute performs as expected, 5px?

<apex:page standardController="foo__c" title="foo Edit: {!foo__c.Name}" tabStyle="foo__c">
<apex:form >
    <apex:pageBlock title="foo Edit" mode="edit">
<apex:inputTextarea value="{!foo__c.bar__c}" id="
theInputTextarea" richText="true" style="width:5px;" />


When i run this code i do not get 5px, looks like i get the fckeditor default width of 100%. Same behavior with "cols" atrribute.

Thanks in advance, Dale.


Hi Dmon


Styles are not applicable when you use "RichText=True". It will display rich text editor as defult with 100% width.