PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Search content window displaced to the left on IE8

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Search content window displaced to the left on IE8

    After implement the search engine I notice it shifted the whole container <div> to the left once I do a search query this only happen on IE (I have only tested
    IE

    If you check this page, you'll see it look fine but when a search query is executed it shift all to the left.

    http://www.medicalplussupplies.com/search_template.html

    Why does it happen only when I do the search query?

    I have check multiple times and I don't see any issues with the CSS.

    Thanks for your help.

  • #2
    I had a look at your site. But I didn't see problem with IE8. I assume you have already fixed up the CSS, or HTML in your search_template.html file that would have been the cause of the issue.

    Comment


    • #3
      I'm still having the problem, with IE 8.0.7600.16385 (32Bits) installed on Win 7 64 Bits.

      http://www.medicalplussupplies.com/search.asp?zoom_query=test

      I have not tried this on IE8 in other OS.

      Thanks
      Last edited by rafaelordaz; Jun-02-2010, 03:05 AM.

      Comment


      • #4
        Had a closer look at the source code output of "search.asp" and compared it to your "search_template.html" file.

        It seems like you might have modified "search.asp" to insert the following tag at the very top:

        <title>Medical Plus Supplies</title>

        However, because this occurs before the template is displayed, it is actually appearing on the same line as the DOCTYPE statement, and it broke it. This is the first line of HTML returned by your search.asp:

        Code:
        <title>Medical Plus Supplies</title><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
        This caused the browser to render the page based on slightly different standards, and that's why the page appears differently. If you remove the title tag there, your page will be centered as on your template page.

        We don't support changes to the ASP script, but you should always say in advance if you have modified it, because we can't see most changes from here, and it makes it difficult to guess what's happening.

        If you just want to add a static title to the page, you should add this to the "search_template.html" file (in the correct place, within the <head>...</head>) instead of the "search.asp" file.
        --Ray
        Wrensoft Web Software
        Sydney, Australia
        Zoom Search Engine

        Comment


        • #5
          Thanks a lot for your help.

          I was not aware of that change. It must be error coping and pasting from another page, since I'm aware that your search.asp should not be modified.

          Comment

          Working...
          X