caption off page

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
alaltenburg
Sr. Propeller Head
Posts: 342
Joined: Mon Nov 03, 2008 9:33 am
Location: The heart of America

caption off page

Post by alaltenburg »

Hello.
I am getting closer with regard to my print output. HTML Help shows the image with caption underneath just fine, but in PDF preview, it shows my pictures ok, but the captions are goofy. When the pic is .rightAlign, the text is on the right side and going offpage. When the pic is .leftAlign, the pic is also showing underneath too far right. When the pic is .centerAlign, then the caption is currectly centered underneath.

I am able to do a .centerAlign on the caption iself (right now I have the div class set for alignment) and the caption does center correctly. I am starting to wonder if it is a CSS setting somewhere.
caption.png
Here is the code
<div class="rightAlign">
<img src="../../Resources/Images/ANDREA CHAPTER 1/03000031.png" style="width: 285px;height: 193px;" />
<p class="figure" MadCap:autonum=" Figure 1-1: "><a name="editor"></a>an example of a Date-Time Editor.</p>
</div>
You do not have the required permissions to view the files attached to this post.
The Moon is the first milestone on the road to the stars.

— Arthur C. Clarke
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: caption off page

Post by LTinker68 »

What styles do you have set for p.figure in the print medium?
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
alaltenburg
Sr. Propeller Head
Posts: 342
Joined: Mon Nov 03, 2008 9:33 am
Location: The heart of America

Re: caption off page

Post by alaltenburg »

caption.png
This is what I have set for the print output.
You do not have the required permissions to view the files attached to this post.
The Moon is the first milestone on the road to the stars.

— Arthur C. Clarke
alaltenburg
Sr. Propeller Head
Posts: 342
Joined: Mon Nov 03, 2008 9:33 am
Location: The heart of America

{Solved} Re: caption off page

Post by alaltenburg »

I went into my CSS for p.figure and started deleting lines out one at a time to see what was affecting the positioning.

I had
p.figure text-align: center

for some reason, as soon as I took that off, it centered under the image. Weird, but it is working.
The Moon is the first milestone on the road to the stars.

— Arthur C. Clarke
Post Reply