Site search feature - search result pane is not rendered correctly in ie 8

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
5/7/2013 9:01:13 AM
Gravatar
Total Posts 27

Site search feature - search result pane is not rendered correctly in ie 8

I have the lastest version with art4.1 default wallpaper skin. I added Site search feature to a page. But the search result is not displayed correctly. It is displayed in a very narrow column on right hand side. How do I fix this? Thanks.

5/7/2013 9:27:58 AM
Gravatar
Total Posts 18439

Re: Site search feature - search result pane is not rendered correctly in ie 8

If you put it in the right pane of the page then that is what is expected

5/7/2013 9:35:35 AM
Gravatar
Total Posts 27

Re: Site search feature - search result pane is not rendered correctly in ie 8

I mean the result pane after clicking the search icon. I tested the content on the left or middle pane. I have the same result. In firefox, the result is displayed in the whole screen. But with ie 8, the diesplay column is only about 20 character wide? Is there any style sheet I can tweak to make search in ie 8 working? Sitemap has similar behavor in ie 8. Thanks

5/7/2013 9:47:13 AM
Gravatar
Total Posts 18439

Re: Site search feature - search result pane is not rendered correctly in ie 8

can you reproduce the problem on our demo site?

5/7/2013 9:50:39 AM
Gravatar
Total Posts 27

Re: Site search feature - search result pane is not rendered correctly in ie 8

Yes, I can reproduce the result in your demo site.  For example, I search "store", the result is displayed in a long but narrow column, which hard to view. I tried ie 8 compatibility mode, it does not help. Thanks.

5/7/2013 10:09:12 AM
Gravatar
Total Posts 18439

Re: Site search feature - search result pane is not rendered correctly in ie 8

I don't see where you added a search feature to a page on the demo site, I thought you were talking about the search feature that can be added to a cms page not the main search page. I also do not see any problem on the main searchresults.aspx page on the demo site when I set my browser mode to IE 8. 

I also don't see any problems using Firefox.

5/7/2013 10:47:10 AM
Gravatar
Total Posts 27

Re: Site search feature - search result pane is not rendered correctly in ie 8

Just like to clarify, I did not change anything on the demo site. I just click the Search link, then type something, then search, for whatever reason, the search result is displayed in a long narrow window with my ie 8. By the way, do you have ie 8 installed, or you just simulate ie 8 mode in another browser? Thanks again.

5/7/2013 10:53:16 AM
Gravatar
Total Posts 18439

Re: Site search feature - search result pane is not rendered correctly in ie 8

I don't have any machines with IE8, all I can do is set IE 10 to IE 8 mode. However my understanding is that should be the same as if using IE 8.

5/7/2013 10:57:34 AM
Gravatar
Total Posts 2254

Re: Site search feature - search result pane is not rendered correctly in ie 8

Hi,

I was able to replicate this on the demo site. My browser mode is IE 10 Compat View, document mode is IE7 Standards.

The OuterWrap panel has inline style of "width: 0px;" which is probably coming from an Artisteer script.

http://i.imgur.com/XxhVGnr.png

I think the issue is with script starting on line 401 in script.js.

You should be able to fix this by adding the following to style.ie7.css.

.searchresults .art-content {
 width: auto !important;
}

HTH,
Joe D.

5/7/2013 11:39:45 AM
Gravatar
Total Posts 27

Re: Site search feature - search result pane is not rendered correctly in ie 8

Your solution fixed the ie 8 issue. Thanks for your help!

By the way, site map probably has the similar issue. Administration link does not work in ie 8 (just display a title). I verified using the demo site. This is not important in my case since no end user will see the Administration link.

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