• #14735
    Salesforce | Tanu Tanu #434
    Forcetalks

    How can I change the width / height of an apex:inputField on a VisualForce page?

    How can I change the width / height of an apex:inputField on a VisualForce page?

     

    #14749
    Salesforce | Sourabh Sourabh #362
    Forcetalks

    Hi Tanu,

    <apex:inputfield> tag contains style element in which you can put styling as you needed.

    example: <apex:inputfield value=”{!value from controller}” style=”height:100px;width:100px”>

    Thanks..

    #21353
    Salesforce | shariq shariq #1
    Forcetalks

    Hi Tanu,

    You can try this :-

    <apex:inputField value=”Input Test” style=”width: 360px;height: 40px”/>

    Hope this helps.

Viewing 3 posts - 1 through 3 (of 3 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2019 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?