Ragnar_Darude 2 Posted October 1, 2007 Hi! Im using a dialog to display a html - control. It seems to me that valign (top, middle, bottom) doesnt work for images. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><img src="picture.paa" align="left" valign="bottom">Text text text text<br>text text text Should show the picture in the upper left corner with the text starting from the upper right corner of the picture and continues on the right side of the picture. This is also what is displayed when viewing the html-file in a normal browser, but not when viewing it in a Arma HTML dialog-control. The picture is on the left side, but the text starts on the bottom right of the picture, as if there wasnt a 'valign' setting in the <img> tag. Am i doing something wrong, is there a way around this or am I just going to have to accept it as a limitation of the engine? Share this post Link to post Share on other sites
vova _fox 0 Posted October 2, 2007 Hi!Im using a dialog to display a html - control. It seems to me that valign (top, middle, bottom) doesnt work for images. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><img src="picture.paa" align="left" valign="bottom">Text text text text<br>text text text Should show the picture in the upper left corner with the text starting from the upper right corner of the picture and continues on the right side of the picture. This is also what is displayed when viewing the html-file in a normal browser, but not when viewing it in a Arma HTML dialog-control. The picture is on the left side, but the text starts on the bottom right of the picture, as if there wasnt a 'valign' setting in the <img> tag. Am i doing something wrong, is there a way around this or am I just going to have to accept it as a limitation of the engine? all works (parsetext "<t size='1' align='right' valign 'top' ><img image='galka.paa'/></t>"); if you want create image with text then: (parsetext "<t size='1' align='right' valign 'top' ><img image='galka.paa'/></t>"+"<t size='1' align='right' valign 'top' >"+"texttexttextextetextetex"+"</t>"); Share this post Link to post Share on other sites