Skip to main content
Participating Frequently
November 13, 2013
Question

Trouble with breaks between captions and graphics

  • November 13, 2013
  • 1 reply
  • 351 views

Greetings,

I'm trying to figure out how to properly structure and style FigCaptions and images using DITA 1.2. The tagging structure I've been using to insert images into topics is as follows: <fig><title></title><image></fig>. In this scheme I have to set the image placement attribute to "inline" for the image to line up correctly in the left margin (which is determined by the <fig> element), but this in turn makes the image try to wrap around the caption, so to speak.

Here's what I'm getting:

Here's what I'd like to get (minus the stretched anchored frame kluge):

Anyone have any ideas on this?

Thanks,

Daniel

This topic has been closed for replies.

1 reply

Cronos75Author
Participating Frequently
November 14, 2013

Thanks to this thread I arrived at the following solution:

So far it seems to be working okay.