Any example to a div in two columns that work with html2pdf?
i have a really big column in td and i have the problem that the content is too big for td
I need two columns in a table.
I try to transform my html from table to div with this example:
<style type="text/css">
<!--
.tabla_contenedora
{
width: 700px;
border-style: solid;
border-width: 2px;
padding: 6px;
display: inline-block;
}
div.tabla_contenedora div.izquierda
{
width: 320px;
border-width: 0px;
height: auto;
text-align: left;
padding-left:10px;
font-family: Arial, Helvetica, sans-serif;
font-size: small;
color: #000000;
}
div.tabla_contenedora div.derecha
{
width: 320px;
height: auto;
border-width: 0px;
text-align: left;
padding-left: 10px;
font-family: Arial, Helvetica, sans-serif;
font-size: small;
color: #000000;
}
-->
</style>
<div class="tabla_contenedora">
<div class="izquierda">
<strong>TITLE 1</strong>
<br />
LONG TEXT
</div>
<div class="derecha">
<strong>TITLE 2</strong>
<br />
LONG TEXT
</div>
</div>
But i only have one column in PDF..
any help please?
thank you.