Skip to main content
Hello, 

I am a tinkerer at best, and am working on creating a PDF attachment to an email template... and I know almost nothing about CSS. 

I would like to be able to set a "Table-Fixed" attribute in CSS, but only apply the attribute to certain tables.  Is this possible? 

Also, my CSS is currently "in-line", and I would like to move it to a static resource, what is the proper syntax for adding the table attribut to what is currently there?  

 

<style>

@page{

size: A4 landscape;

}

</style>

Thank you so much in advance, I am so close to crossing this project off my list!

 
4 answers
  1. Oct 30, 2015, 8:07 PM
    John,

    This is the way to apply multiple css on an element. compare with your code and understand :)

     

    <table style="border-collapse: collapse;table-layout:fixed" width="860" border="1">

     
0/9000