1 Attachment(s)
Reference Module image alignment
Hello - I'm working on a reference module, and am trying to get a picture to line up to the right (or left) of the text, similar to the setup in the Call of Cthulhu ruleset I've linked below. The code I'm trying to do this with is here:
Code:
<id-00001>
<align type="string">center</align>
<frame type="string">noframe</frame>
<text type="formattedtext">Example text...</text>
<blocktype type="string">singletext</blocktype>
</id-00001>
<id-00002>
<align type="string">left,right</align>
<size type="string">200,438</size>
<image type="image">
<bitmap type="string">images\anathaym.jpg</bitmap>
</image>
<caption type="string" />
<imagelink type="windowreference">
<class>imagewindow</class>
<recordname>reference.imagedata.img_anathaym_jpg</recordname>
</imagelink>
<blocktype type="string">image</blocktype>
</id-00002>
<id-00003>
<align type="string">center</align>
<frame type="string">brown</frame>
<text type="formattedtext">More example text...</text>
<blocktype type="string">singletext</blocktype>
</id-00003>
Instead of having the text "wrap" with the image (so that the text shows up on the left side), the text instead appears above and below the image, with the image on the right side.
I'm not exactly sure how to resolve this - I've tried to find a solution here on the forums (and probably missed one, I'm sure), but can't find an example to work from to ensure my XML is correct for the module. If anyone could point me in the right direction, I'd be very grateful.
This is for FGU also - not sure if that makes any difference or not.