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
apex code shareapex code share 

Please help me how to use CSS in visualforce page.



I have created a visualforce page for barcode generation. but my barcode(which should be in to a box) is coming out of the box for which i will have to use CSS in my visual force page.


Please help me  to set the bar code in to the box.


Andy BoettcherAndy Boettcher
apex code shareapex code share

Thanx for the reply!!!


I have my code :-


<apex:page standardcontroller="Products__c" renderas="pdf" standardStylesheets="False">
<apex:form >
<BarcodeZone:ACBarcodeZone Value="{!Products__c.Name}" BrcdType="{!Products__c.Bar_code_type__c}">



Now i want to use CSS in this,please help me here using it.

Andy BoettcherAndy Boettcher

I haven't used BarcodeZone, but I would envision you can tag and use CSS in that tag just as you would anything else..


<BarcodeZone:ACBarcodeZone Value="{!Products__c.Name}" BrcdType="{!Products__c.Bar_code_type__c}" style="whatever your inline css styles are">