Reputation: 490607
DOMPDF does not support floats.
However I am listing many tables, and they are mainly key & value pairs. I would like 2 of these tables to appear side by side.
i.e. if I could use floats
<table id="stuff">
...
</table>
<table id="other-stuff">
...
</table>
table#stuff {
float: left;
}
table#other-stuff {
float: right;
}
What sort of workaround can I do to support this? Or is it impossible?
If anyone has any ideas, there is a place to test here.
Upvotes: 4
Views: 9241
Reputation: 39
Make a table with 2 cells (50% if needed). Align 1st to left and the 2nd to right. In each cell you place your tables.
It should look like 2 floats.
Upvotes: 3
Reputation: 490607
It looks like it may be supported in the beta.
You can download that from the Google Code page.
Upvotes: 4