paulspoon Posted June 19, 2006 Share Posted June 19, 2006 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. Regardsps. 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> Quote Link to comment https://forums.phpfreaks.com/topic/12359-printing-problem-html/ Share on other sites More sharing options...
bobleny Posted June 19, 2006 Share Posted June 19, 2006 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... Quote Link to comment https://forums.phpfreaks.com/topic/12359-printing-problem-html/#findComment-47374 Share on other sites More sharing options...
.josh Posted June 20, 2006 Share Posted June 20, 2006 by table do you mean cell?you can do <td width = '100'>blah</td> to make the cell 100px wide, for example. Quote Link to comment https://forums.phpfreaks.com/topic/12359-printing-problem-html/#findComment-47728 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.