Zakarius
October 14th, 2006, 06:49
I'm new to XML but a veteran to HTML. I can't seem to find a way to duplicate the linefeed <br> from HTML...
<p><b><i>small armor:</i></b><br>
<li><i>cost -- 75% normal price</i></li>
<li><i>weight -- 50% of the listed amount</i></li></p>
The above code gives FG a fatal error. Changing the linefeed tag to <br /> won't kill the application but it acts as if it isn't there. Without the <br>, the 'cost' line actually overlaps the 'small armor:' line. Moving the </p> tag to the end of the first line DOES separate these lines, but adds a full line of white space. <h> tags don't do the trick, either.
So is there any way in XML to have a single line followed by a list without a full blank line?
<p><b><i>small armor:</i></b><br>
<li><i>cost -- 75% normal price</i></li>
<li><i>weight -- 50% of the listed amount</i></li></p>
The above code gives FG a fatal error. Changing the linefeed tag to <br /> won't kill the application but it acts as if it isn't there. Without the <br>, the 'cost' line actually overlaps the 'small armor:' line. Moving the </p> tag to the end of the first line DOES separate these lines, but adds a full line of white space. <h> tags don't do the trick, either.
So is there any way in XML to have a single line followed by a list without a full blank line?