Jump to content
Updating IPB tonight Read more... ×

Archived

This topic is now archived and is closed to further replies.

paulspoon

Printing problem html

Recommended Posts

The following code produces mixed outputs. The Dist and Invoice column is never the same maybe because the Description is sometimes narrower than another invoice. Any suggestions on how I can tell html to use a "fixed" position on where to start a certain table.
Regards
ps. this is mainly used for html to pdf printing

<table border="0">
<tr>
<td width = "400"><font size="-2"><#DESCRIPTION#></td>
<td width = "500"></td>
<td width = "150"><#DIST#> / <#INV#></td>
</tr>
<tr>
<td><#ADD1#></td>
<td></td>
<td>4130119151</td>
</tr>
<tr>
<td><#ADD2#></td>
<td></td>
<td><#ORDERDATE#></td>
</tr>

Share this post


Link to post
Share on other sites
Did you close your table? </table>

If I understand you right your saying the columns of your table are different width and you don't want it to do that?

I'm kind of confused...

Share this post


Link to post
Share on other sites
by table do you mean cell?

you can do <td width = '100'>blah</td> to make the cell 100px wide, for example.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.