We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22704
    • 42 Posts
    Hi,

    On IE6 the little Cross to close Search Results is missing. HTML should have an IMG but instead a DIV is created with width/height: 0px. Something in IE6 must interpret the DOM Create Element IMG as Create DIV. Can’t imagine what could do that.

    http://www.clark-eriksson.co.uk/

    Works on every other browser. Can’t find anything similar by search.

    Parthian
      • 22704
      • 42 Posts
      A bit more information

      Using IETester (just found it today - very nice).
      View Source - IE Interpreted Source Code


      <FIELDSET>
      <INPUT type=hidden value=oneword name=advSearch> 
      <LABEL for=ajaxSearch_input>
      <INPUT class=cleardefault id=ajaxSearch_input onfocus="this.value=(this.value=='Search here...')? '' : this.value ;" value="Search here..." name=search> </LABEL>
      <LABEL for=ajaxSearch_submit><INPUT id=ajaxSearch_submit type=submit value=Go! name=sub> </LABEL>
      </FIELDSET> 
      
      /* COMMENT - IMG turned into a DIV */
      <DIV style="FILTER: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.clark-eriksson.co.uk/assets/snippets/ajaxSearch/images/cross.png', sizing='scale'); WIDTH: 0px; HEIGHT: 0px">
      </DIV>
      
      <IMG id=indicator style="DISPLAY: none; VISIBILITY: visible" alt=loading src="http://www.clark-eriksson.co.uk/assets/snippets/ajaxSearch/images/indicator.white.gif" jQuery1276164978031="12">
      </FORM>



      I’m thinking Opacity problem. I’ll try that.

        • 22704
        • 42 Posts
        Bit more

        Removal of this fixes the problem

        <script type="text/javascript" src="assets/js/frankensleight.js"></script>

        I notice http://www.sottwell.com/how-templates-work.html uses

        <!--[if lt IE 7]>
        <style type="text/css">
        body { behavior: url(assets/js/csshover3.htc) }
        img { behavior: url(assets/js/frankensleight.htc) }
        </style>


        Any views other than remove frankensleight?