I hope this is useful to someone. It was certainly frustrating me.
We were having two problems:
Problem 1: centering images
I used the following CSS method:
Code: Select all
img.center
{
display: block;
margin: 0 auto;
max-width: 99%;
}Problem 2: My machine would not include images in MSWord output, even when I selected: Word Target > Advanced > Embed Images in MSWord output. From the same Target, my co-worker's machine did include the images in the MSWord output.
Workaround:
Putting images within a p element and applying text-align: center; to the enclosing p element. So I used:
Code: Select all
p.center
{
text-align: center;
}