I am wondering if the following is possible. I am trying to achieve a specific look of all tables for the purposes of Word export:
Essentially, I need the header with a different color, without inner borders, with text property set to uppercase and a different color than the background. It's quite easy to achieve in CSS, but I am struggling to make it work as a style for tables in H&M, which I would prefer.
Currently, I am able to edit the XML source to achieve the beforementioned properties, but I am wondering if it is possible to somehow update the table style properties to set specific css styles for <thead>, firstchild <tr> or something like that?
Would it be possible to for example amend the following source styleclass to reflect these requirements? Or do this somewhere else in the hmxp source code?
Code: Select all
<tablestyleclass name="Default">
<style-set media="screen">width:100%; cell-padding:4px; cell-spacing:0px; page-break-inside:avoid; border-width:0px; border-spacing:0px; border-collapse:collapse; cell-border-width:1px; border-color:#ffffff; border-style:solid; background-color:#f2f2f2; head-row-background-color:#009eb7; alt-row-background-color:none;</style-set>
</tablestyleclass>
Thank you for your time!
Best Regards
Michal