Hi folks,

Our designer put together a beautiful HTML version of our new site design.
I'm now sucking it into Magnolia, and found an odd quirk that I'm not sure
the best way to work around.

The designer's HTML is this:

<div class="txst-banner-extra1"></div>
<div class="txst-banner-extra2"></div>

I've inculded this as-is in my template file. However, since JSP treats
those pretty much like XML, what Magnolia emits is this:

<div class="txst-banner-extra1"/>
<div class="txst-banner-extra2"/>

It seems perfectly legitimate if you're thinking in XML, but apparently even
when using XHTML Strict, Firefox doesn't seem to think the two are
equivalent. Specifically, with the latter case, txst-banner-extra2 is
treated as a *child* of txst-banner-extra1, even though extra1 has already
been closed.

As a workaround, I can change the template code to this:

<div class="txst-banner-extra1"><jsp:text/></div>
<div class="txst-banner-extra2"><jsp:text/></div>


But that seems a terribly clumsy way to keep the divs from collapsing. Is
there any better way to approach this? Some sort of JSP processing directive
seems in order, but I haven't found anything appropriate.

Thanks in advance for any help.

Sean


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------

Reply via email to