From memory I think only setting it on the contain...
# advancedpdf
m
From memory I think only setting it on the containing div worked, but looking at my templates I am setting it for both