I have implementet the correct setting of tab stops by using "position:absolute" and values from the <w:tabs> tag and it works fine for converting from docx to xhtml BUT after that I convert my xhtml to .epub using calibre and it seems that calibre doesent convert <span> elements with style="position:absolute.... BUT it converts correct when I use position:relative so what I am trying to do now is rewriting my tab stops implementation in a way that the position is relative to the previous element like:
<span style="position:relative; left:0pt">text1</span>
<span style="position:relative; left:234pt">text2</span>
before I used position:absolute which was no problem but now that I use "relative" I need to know the END position of the previous element.
relative position of the current element = absolut position from <tabs> tag for current element - end_position from previous element
so finally my question is, can I get the ending position of the previous element OR can I somehow geht the width of the previous element