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
Esther Thomas 2Esther Thomas 2 

apex:input not able to set the width

Hi there,
 I tried the following to control the width of my apex:input. this html-min seems to work for apex:inputfield but doesn't seem to be working with apex:input. Any help here is appreciated. Thank you.
 
<apex:outputLabel>Hours Needed</apex:outputLabel>
                <apex:input type="number" value="{!BookHours}" html-min="2" style="width:40x;"/>

 
NagendraNagendra (Salesforce Developers) 
Hi Esther,

May I suggest you please check with below link from the forums community which might help you further. Please let us know if this helps you.

Thanks,
Nagendra.
Esther Thomas 2Esther Thomas 2
ah I had a typo, forgot the p in px. Thanks.