we use something like
<div class="caption">Figure X: some caption</div>
For adding captions below images. The DIV should have a width of 2/3 of the width of the page (no issue) and centered if the caption is only one line long. For a caption spawning several lines should be left-aligned. Is there some magic for making the text-alignment conditional based on the number of lines within the caption? I think this is not possible...?!
<div class="caption">Figure X: some caption</div>
For adding captions below images. The DIV should have a width of 2/3 of the width of the page (no issue) and centered if the caption is only one line long. For a caption spawning several lines should be left-aligned. Is there some magic for making the text-alignment conditional based on the number of lines within the caption? I think this is not possible...?!