I have attached my code and the pdf output. I am looping through my database. It requires the records to be displayed in 3 columns and i have tried to do it using html (float:left) but the records just get squashed on the same line. The example .PDF is attached and shows a simple 3 records being returned but that should be on two lines, 3 on the first row and two on the second. Thanks for looking.