Forum:Templates formatting into normal paragraphs

I'm having a little issue. I have a template that goes like this:

This would, desirably, become the following:

HeadingFoo: Text

HeadingBar: MoreText.

Basically, normal wiki-style paragraphs between them like when you put two lines between anything. I can emulate this with div tags, ie: HeadingFoo: Text HeadingBar: MoreText

The problem is, when under the heading in the template I want to have multiple paragraphs. IE, the template call is:

Ideally this would become:

HeadingFoo: Text

Another Paragraph

HeadingBar: MoreText

Unfortunately, with divs all the paragraphs get compressed into one (it appears that MediaWiki won't chunk into paragraphs within divs). I tried using tables, which almost worked, but when there are right-floating elements that interact with the table (like infoboxes) the entire table width gets compressed, instead of just the part that's being blocked by the infobox. How might I be able to do what I want (and still be XHTML compliant)? Surgo 16:17, January 14, 2010 (UTC)


 * Update: It appears that if I wrap everything in:

Text
 * It will do exactly what I want it to. Surgo 16:36, January 14, 2010 (UTC)


 * That's one solution, but fyi it may not work as intended on all browsers, per w3schools:No versions of Internet Explorer (including IE8) support the property values "inherit", "inline-table", "run-in", "table", "table-caption", "table-cell", "table-column", "table-column-group", "table-row", or "table-row-group".. 16:40, January 14, 2010 (UTC)


 * Yuck. I knew IE7 didn't support it, but I thought IE8 did. I don't suppose there's another solution? Surgo 18:11, January 14, 2010 (UTC)


 * And if there's more than one, is there a solution that involves formatting it like normal paragraphs? Because the spacing doesn't appear to be exactly the same. Surgo 18:13, January 14, 2010 (UTC)


 * Drop the divs and put a  before HeadingBar perhaps?  19:25, January 14, 2010 (UTC)


 * That's the opposite of what I want to happen -- I want it to sit on the same line as the object, not clear it. Surgo 21:36, January 14, 2010 (UTC)

HeadingFoo: HeadingBar:. ? 22:06, January 14, 2010 (UTC)