Strange things also happen when you have an empty div in your code to
style/format/layout your pages.

<div></div> is collapsed to <div/>, which is ignored by some browsers. You
need to put an empty comment in it to make it work. So it would become
<div><!-- --></div>.

Indeed... crazy browser world.  :-D

-- Marcel



Magnolia - User mailing list-2 wrote:
> 
> David Smith ha scritto:
>> I would guess it's because xml formatted jsp tends to collapse the
>> <script ...></script> tags to <script ... />, which Internet Explorer
>> doesn't like.  I had this same issue and fixed it by inserting an empty
>> comment inside the script tag body like:
>> 
>> <script type="text/javascript"
>> src="/magnoliaAuthor/docroot/js/mooTools/mootools-1.2.1-core-yc.js"><!--
>> --></script>
>> 
>> BTW, I didn't have the problem when I viewed my pages with a Firefox
>> browser.
>> 
>> --David
> 
> mmm...
> 
> I'm used to develope with FF (3.0.4) too and the issue is the same...
> 
> crazy browser world..
> 
> many thanks, it has been fixed!
> 
> Matteo
> 
> 
> ----------------------------------------------------------------
> for list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> ----------------------------------------------------------------
> 
> 

-- 
View this message in context: 
http://www.nabble.com/OT%3A-jsp%3Aroot-tp20581723p20602888.html
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------

Reply via email to