You need to sign in to do that
Don't have an account?
Sudhir_Meru
Visual force not referencing external css file
Hi,
I created a css file inside folder name cssexample
style.css file name
================
h1
{
text-align:center;
color:green;
}
made cssexample.zip and uploaded in static resources
I am calling in visual force page it is not referencing Please suggest me what is the issue
<apex:page standardstylesheets="false" showheader="false">
<apex:stylesheet value="{!URLFOR($Resource.cssex, 'style.css')}" />
<h1> This text is displayed using CSS </h1>
</apex:page>
I created a css file inside folder name cssexample
style.css file name
================
h1
{
text-align:center;
color:green;
}
made cssexample.zip and uploaded in static resources
I am calling in visual force page it is not referencing Please suggest me what is the issue
<apex:page standardstylesheets="false" showheader="false">
<apex:stylesheet value="{!URLFOR($Resource.cssex, 'style.css')}" />
<h1> This text is displayed using CSS </h1>
</apex:page>
Try
All Answers
Try