Can't center images; No images in MSWord output;

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
moshe
Propeller Head
Posts: 46
Joined: Tue Apr 05, 2016 10:10 pm
Location: Jerusalem, Israel

Can't center images; No images in MSWord output;

Post by moshe »

I wasn't sure which forum to post this in, as it relates both to Print Output and to CSS.
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%;
	}
Which worked fine to center-align images using my machine (which has installed Flare 12). However, on my co-worker's machine (which has installed Flare 11), in the same topics, images appeared left-aligned in both the Flare editor and in PDF output. (Yes, I know, not a good idea to use two different Flare versions on the same projects simultaneously, but upgrading her machine is tied up in Management.)

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;
	}
Which seems to solve both issues!
Moshe Davis
Jerusalem, Israel
Post Reply