function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Rakshana Cube84Rakshana Cube84 

Style capture with zip file.

Hi All,

I have a zip folder which has more than 1000 CSS files. I had uploaded the zip folder into the static resource. But If I would like to call all *.css file from the uploaded static resource, how?
instead of doing  like below manually
<apex:stylesheet value="{!URLFOR($Resource.ZipFolder, 'individualCSS.css')}" />
Please help with this task, Thanks in advance
Raj VakatiRaj Vakati
I dnt thin so you can able to do it ..

When you use that CSS in a Visualforce page, you need to make sure the CSS file can find the image. To do that, create an archive (such as a zip file) that includes styles.css and img/testimage.gif. Make sure that the path structure is preserved in the archive. Then upload the archive file as a static resource named “style_resources”. Then, in your page, add the following component:

<apex:stylesheet value="{!URLFOR($Resource.style_resources, 'styles.css')}"/>