function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
<apex:page controller="cssQuestion"> <style> .headerRow .TableTitle { background-color: #F0F8FF !important; background-image: none !important; //This is needed if you want to overwrite the header background color: #CC0000 !important; font-size:100% !important; } </style> <apex:pageBlock> <apex:pageBlockSection> <apex:pageBlockTable value="{!MyAccounts}" var="Account" > <apex:column headerValue="ID" headerClass="TableTitle" value="{!Account.ID}" /> <apex:column headerValue="Name" headerClass="TableTitle" value="{!Account.Name}" /> </apex:pageBlockTable> </apex:pageBlockSection> </apex:pageBlock> </apex:page>
<apex:page showHeader="false" sidebar="false" renderAs="PDF" applyBodyTag="false" standardController="Contact" standardStylesheets="false" applyhtmltag="false">
Please try with sample code below. Source: http://www.eltoro.it/ArticleViewer?id=a07A000000NPRimIAH
Hope this helps.
Please mark this as solved so that it gets removed from unanswered queue which results in helping others who are encountering similar issue.
Best Regards,
Nagendra.
unless we use applyhtmltag="false" tag in page like below