Forum › How do I...?

element centering issue

caudingo
Hi mikeday,

I can't center a div correctly, meaning that in Chrome I can see it right but when pdf'd it's a bit off on the left. Please see the attached files, looking at the legend at the bottom in respect to the chart.

Any hints?

Cheers
Chris
  1. out.html‎ 7.0 kB
  2. out.pdf‎ 43.0 kB
mikeday
Prince puts 40pt margin-left on the <ul> element but Chrome puts 40px padding-left.
caudingo
That explains it, thanks.