I needed to find some CSS that would allow me to turn my table header text vertical, since "writing-mode: sideways-lr" only works in Firefox. After searching this Forum and trying different things, I found a piece of CSS that did exactly what I needed (I wish I could credit the author of this code, but I closed that browser window hours ago - if you wrote this code and posted it here - THANK YOU!).
The only problem is, with this code in place, several blank pages are appended to the end of my form. I see this in preview mode, after the form submits, and in the final PDF format (a 2-page form now results in a 6-page PDF with 4 blank pages at the end). I know this code is the culprit because if I take it out, that whitespace disappears immediately. Can anyone help identify and resolve the issue here?
/*Format table headers*/
#q376 .cf-col-label
{
text-align: center;
vertical-align: middle;
width: 20px;
margin: 0px;
padding: 0px;
padding-left: 3px;
padding-right: 3px;
padding-top: 10px;
white-space: nowrap;
-webkit-transform: rotate(-45deg); -- I decided slanty headers look best
-moz-transform: rotate(-45deg);
-ms-transform:rotate(-45deg);
-o-transform:rotate(-45deg);
}
Thank you!