You need to sign in to do that
Don't have an account?
apex code share
Please help me how to use CSS in visualforce page.
Hi,
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.
Check out Cory Cowgill's post on this:
http://corycowgill.blogspot.com/2011/01/generating-barcode-in-visualforce-page.html
-Andy
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}">
</BarcodeZone:ACBarcodeZone>
</apex:form>
</apex:page>
Now i want to use CSS in this,please help me here using it.
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">
-Andy