IE8 Columns Issue

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
9/12/2011 9:03:12 AM
Gravatar
Total Posts 133
J

IE8 Columns Issue

Just found that some of the pages in my site will not display correctly in IE8 without compatibility mode being on. I have spent ages looking at the page source and cane see no differences in the main layour div classes between those that work and those that don't.

A page with 3 columns displays as 3 even columns leaving extra space to the right.

A page with just the 2 columns displays with the centre column squished into a narrow column.

But most 2 col pages display fine in IE8 normal mode. 

My skin was based on andreasviklund-02-alt1 and all works fine in all other browsers I have tried.

I suppose I could use a meta tag to force compatibility view but am worried that might cause other issues.

This content div works as expected

<div id="ctl01_divCenter" class="art-layout-cell art-content center-leftmargin cmszone">

but this apparently identical one displays as a narrow col that is even narrower than it would be if content was added to the right column.

<div id="ctl01_divCenter" class="art-layout-cell art-content center-leftmargin cmszone">

Identical div same skin same css - must be looking in the wrong place. Caching not an issue.

I also have one example of a 3 col page where the center col is narrow (the same as the sidebars) leaving unused space to the right.

What's the best way to fix this? If it was consistent then I would go for the Meta TAg fix but as it's only some pages I guess it must be something to do with the content. (HTML and Shared Files modules only)

Altogether now - I hate IE!

9/12/2011 10:31:03 AM
Gravatar
Total Posts 133
J

Re: IE8 Columns Issue

Hmm I think I have sorted this - seems to have been related to pages that had had an attempt to put a Shared files module in the right column. Even though those had been deleted or moved to center. 

So I guess it must have been caching something somewhere - even though page I had recycled the pool and cleared the browser cache. 

I really really hate IE!

Apologies for troubling y'all.

J

9/13/2011 5:52:06 AM
Gravatar
Total Posts 133
J

Re: IE8 Columns Issue

This problem persists -  any time I add a shared files module to a page in the center column - the center column of all content on the page becomes very narrow in IE8 - all fine in all other browsers inculding IE9 and IE8-compatibility mode. Very weird - tried to reproduce it on the demo site but could not reproduce it.

MP 2.3.6.7

Skin from Artisteer 3 using andreasviklund-02-alt1 as the base

The column actually becomes narrower than it would be if there was some content in the right column.

It must I guess be in my CSS but I cannot see where or why this is happening.

What is the correct Meta Tag to add to force IE7 mode on IE8?

 

John 

9/15/2011 6:39:33 AM
Gravatar
Total Posts 18439

Re: IE8 Columns Issue

Hi John,

This is what they had in Artisteer designs exported from Artisteer 2.4 which came out when IE 8 was new and they were forcing it to render like IE 7

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

However I think it will force all newer versions of IE to emulate IE 7, so to make it only apply to IE 8 you would need to wrap it in a conditional comment like this:

<!--[if IE 8]>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<![endif]-->

Hope that helps,

Joe

 

10/25/2011 4:57:40 AM
Gravatar
Total Posts 133
J

Re: IE8 Columns Issue

I just came back to this issue - it is not really a skinning issue but I will continue the conversation here

Any page that has a Shared Files Module added will not display it's columns properly in IE unless running in compatibility mode.

The Meta tag to for EmulateIE7 can only be added globally in layout.master and if I do that then other pages using the JQuery Accordion are broken - anyway I do not want to force IE7 for the whole site. 

Ideally if the meta tag could be inserted using the page settings Add Meta feature that would be great but unless I am being dumb this can only be used to insert tags in the form <meta name ="" content="" /> not <meta http-equiv="" ....

So as far as I can see my only option is to create a separate skin including the force IE7 tags just for pages with SF modules .. does that sound right?

Regards

John

10/25/2011 8:52:56 AM
Gravatar
Total Posts 2239

Re: IE8 Columns Issue

Hi John,

Can you post a link to your site so I can see the problem live? I tried to replicate it on the demo site but the columns seem to be showing up okay in IE8 with the Shared Files module.

Thanks,
Joe D.

10/25/2011 9:20:39 AM
Gravatar
Total Posts 18439

Re: IE8 Columns Issue

Hi John,

That would be a skin specific problem, I'm not seeing it when I test with IE 8 (though I haven't tried every skin we ship). I've also heard of people having problems specific to IE 8 on Vista that don't happen on IE 8 in Windows 7. I don't have a Vista machine so I'm not able to test that configuration.

You "could" use a specific skin on that page, but you could also solve it by overriding CSS specifically for IE 8, and that would probably be a better solution. Joe D may be able to give a specific fix after viewing the site.

I've just created a new article that may also help, Fixing Design Problems in Internet Explorer. It explains how to get some extra CSS into IE to override the main CSS so you can fix any IE specific problems.

Hope that helps,

Joe

10/25/2011 9:20:39 AM
Gravatar
Total Posts 2239

Re: IE8 Columns Issue

Hi John,

Actually, I was able to replicate the issue. It appears to be a problem with NeatUpload. In ProgressBarBase.cs an empty "self-closed" span is rendered but IE8 doesn't like self-closed span elements so it is rendering it without a closing tag. This forces all subsequent content inside the span which screws up the columns.

Joe A, can you replace this:

writer.Write("<span id='" + ClientID + @"_NeatUpload_dummyspan'/>");

with this:

writer.Write("<span id='" + ClientID + @"_NeatUpload_dummyspan'></span>");

in ProgressBarBase.cs ?

Thanks,
Joe D.

10/25/2011 9:21:43 AM
Gravatar
Total Posts 18439

Re: IE8 Columns Issue

Hi Joe,

Sure, I'll make that change right now so it will be in the next release.

[Edit], I guess that fix would be directly in NeatUpload, which is a tricker fix, because if I update it then I have to release new versions of and add on features that depend on the same version of NeatUpload as mojoPortal, ie Form Wizard Pro, Web Invoice Pro etc.

I'll make note of it and get to it as soon as I can. If it were something directly in mojoPortal I could fix it more easily.

Best,

Joe

10/25/2011 10:11:41 AM
Gravatar
Total Posts 133
J

Re: IE8 Columns Issue

Thanks Joe D and Joe A, good to know it's not just me that sees this. 

 

Cheers

J

You must sign in to post in the forums. This thread is closed to new posts.