Author Topic

Vivienne van Velzen

Friday 15 October 2004 4:34:47 am

Comment16601

Hi Mark,

Once again thanks for replying. I have tried to alter the line.tpl file. When I remove the <br> tag there, it's also removed before my object. BUT, doing this removes other <br> tags that are correct as well. So that's not an option.

I'll try to do something with stylesheets, although at the moment I'm pretty skeptic whether that'll work. In my opinion it's not whether or not the text is shown as inline or block, but that Exponential treats the text before an object as a seperate line-object and uses the line.tpl template for the text up to the object (which is why changing line.tpl works). Even though the (reference to the) object (in my case) is part of the text and should be on the same line. I might have to find a way to parse the content of XML field in my page to find out if an object reference is present, and if so, to remove the <br> tag before it. I'll let you know how I get along.

But in the meantime.... aarghhhh! How can this be so hard!?! Has no-one had the same problem (which I can't really imagine)? If so, and you've found a solution, PLEASE let me know.
TIA,

Vivienne