PDA

View Full Version : Difference in layout between MSIE and FF help please


stardotstar
05-17-2009, 07:57 AM
Hi guys,

Just found that I get a significantly different CMPS page when viewing in MSIE. I use FF on linux and Mac and only noticed this tonight. Attachments show that the two openx invoked banners on the "Friends of" block on the right are spanning rather than listing (not sure what the proper terminology is.) I tried to use a table but broke the module in CMPS so just added a &nsbp between - please see the thumbs and code:

<tr>
<td class="alt1">
<script type='text/javascript'><!--//<![CDATA[
var m3_u = (location.protocol=='https:'?'https://www.sourcepoint.com.au/openx/www/delivery/ajs.php':'http://www.sourcepoint.com.au/openx/www/delivery/ajs.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
document.write ("?zoneid=4&amp;block=1");
document.write ('&amp;cb=' + m3_r);
if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
document.write ("&amp;loc=" + escape(window.location));
if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
if (document.context) document.write ("&context=" + escape(document.context));
if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
document.write ("'><\/scr"+"ipt>");
//]]>--></script>
&nbsp
<script type='text/javascript'><!--//<![CDATA[
var m3_u = (location.protocol=='https:'?'https://www.sourcepoint.com.au/openx/www/delivery/ajs.php':'http://www.sourcepoint.com.au/openx/www/delivery/ajs.php');
var m3_r = Math.floor(Math.random()*99999999999);
if (!document.MAX_used) document.MAX_used = ',';
document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u);
document.write ("?zoneid=4&amp;block=1");
document.write ('&amp;cb=' + m3_r);
if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used);
document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : ''));
document.write ("&amp;loc=" + escape(window.location));
if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer));
if (document.context) document.write ("&context=" + escape(document.context));
if (document.mmm_fo) document.write ("&amp;mmm_fo=1");
document.write ("'><\/scr"+"ipt>");
//]]>--></script>
</tr>
</td>

I'm sure its a simple way of ensuring that elements go in a stack rather than spanning a block - interestingly it doesn't even rearrange for some reason when I change window siz3e which is giving MSIE users the horizontal scrolling irrits!

Will

Lynne
05-17-2009, 01:58 PM
Instead of using an &nbsp (you forgot the semi-colon at the end - it's &nbsp; , not &nbsp ), why not just add a break, <br /> ?

stardotstar
05-18-2009, 06:02 AM
Ahhh, thank you.

I'll try both and see what I come up with.