Forum How do I...?

How do I change the alignment of a particular html element.

Jack4638
Hi,

Could you tell me where the html/css is wrong?
It is viewing correctly on the browser, but the layout is mess up in PDF.

Please see attachment.

PDF files.zip‎
  1. PDF files.zip78.6 kB
mikeday
It looks okay to me, but the table is wide and the paper is narrow, so you get some linebreaks in some of the table cells. Is this the problem? Perhaps you could reduce the page margins, or decrease the font size?
Jack4638
I used the same table and this one looks correct.
Please see attachment.
  1. normal screener result.zip85.6 kB
mikeday
I don't know what to look at. What problem are you trying to fix?
Jack4638
The title is not correctly aligned.
If you look at the html and the pdf in the attachment, you will know what I am talking about.
mikeday
If you make the browser window narrow, so that "Purchase Information" breaks across two lines, does it reproduce the unwanted layout?