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
how to use css file
Save CSS file as a static resource
use following in the visualforce page
<apex:stylesheet value="{!URLFOR($Resource.myCSS)}" />
Hi
You can use the CSS in following ways :
1. Inline CSS :
<apex:outputText value="Inline CSS" style="font-weight:bold; margin-left:55px;" />
2. Declaring css in Page :
<apex:page>
<style type="text/css">
.Dataclass{
text-align:right; border-right:1px solid black; min-width: 150px !important; }
<apex:outputText value="CSS is declared " styleClass="Dataclass"/>
</apex:page>
3. Creating separate file for css and Use it as Static resources and include it in a page using :
<apex:stylesheet value="{!URLFOR($Resource.PageStaticResourcesName, '/CSSFolder/GPS_Quote_PDF_CSS.css')}"/>
Thanks
Ajay
Save CSS file as a static resource
use following in the visualforce page
<apex:stylesheet value="{!URLFOR($Resource.myCSS)}" />
Hi
You can use the CSS in following ways :
1. Inline CSS :
<apex:outputText value="Inline CSS" style="font-weight:bold; margin-left:55px;" />
2. Declaring css in Page :
<apex:page>
<style type="text/css">
.Dataclass{
text-align:right;
border-right:1px solid black;
min-width: 150px !important;
}
<apex:outputText value="CSS is declared " styleClass="Dataclass"/>
</apex:page>
3. Creating separate file for css and Use it as Static resources and include it in a page using :
<apex:stylesheet value="{!URLFOR($Resource.PageStaticResourcesName, '/CSSFolder/GPS_Quote_PDF_CSS.css')}"/>
Thanks
Ajay