You need to sign in to do that
Don't have an account?
How to add css style to visualforce custom component ?
Hi.
Is it possible to add css directly to a component like this.
<apex:component >
<style type="text/css">
td{
style="height:10"
}
</style>
<table>
<tr>
<td>Test</td>
</tr>
</table>
</apex:component>
Best Regards
suresh
Is it possible to add css directly to a component like this.
<apex:component >
<style type="text/css">
td{
style="height:10"
}
</style>
<table>
<tr>
<td>Test</td>
</tr>
</table>
</apex:component>
Best Regards
suresh
Yes it is possible, for few examples on using custom style refer section "Using custom styles" in following link:
http://www.salesforce.com/us/developer/docs/pages/
Thanks for the time.
My question is can I add the style sheet to Component A with is called in the VF page.
The VF page also have their own style sheet.
This VF should be rendered as pdf
Best Regards
suresh