+ Start a Discussion
laxmi narayan 11laxmi narayan 11 

Remove space from visualforce page

Hi there,

Anybody can help me to remove this unusal space. showing in this image.
This is visualforc page
User-added image 
NagendraNagendra (Salesforce Developers) 
Hi Laxmi,

The best way to avoid this type of issue is you need to display that in the <apex:outputpanel> component,
Say, for example, you have some of the fields inside a page block to be displayed based on the rendering option you need to give it in the following method,
//To avoid whitespaces if it disappears based on rendering option
<apex:outputPanel rendered="<your condition here>">  
    <apex:inputField value="{!object__c.field1__c}"/>
    <apex:inputField value="{!object__c.field2__c}"/>
Hope this helps you further with the above issue.

laxmi narayan 11laxmi narayan 11
Hi Nagendra,

Thanks for your help!

It's a fix white space in service console and I tried CSS twik but unfortunatle it didn't worked. Any help would be appriciated.

User-added image

laxmi narayan 11laxmi narayan 11
Any thought appreciated?