How do I go about creating a 3 col landscape layout using xhtml2pdf?
I tried something like this but it didn’t work. Should I even be using frames in the first place?
@page {
size: a4 landscape;
@frame left {
-pdf-frame-content: left;
-pdf-frame-border: 1;
width: 9.9cm;
text-align: left;
}
@frame middle {
-pdf-frame-content: middle;
-pdf-frame-border: 1;
width: 9.9cm;
text-align: left;
}
@frame right {
-pdf-frame-content: left;
-pdf-frame-border: 1;
width: 9.9cm;
text-align: left;
}
}
I don’t think it can be done with xhtml2pdf even though its based on reportlab which allows you to do it.
After messing with it for a while, the following snippet produces the following image: https://i.stack.imgur.com/poJox.jpg