eugene33 wrote:

: I have a little problem with superfish and IE7 (probably IE6 too
: couldn't test it)

    It fails under IE6 as well.

    The problem seems to be the relative positioning of the #content.
The default is static positioning works fine. The relative position is
causing the problem.

    As is:

         div#content {
            position: relative;
            display: block;
            float: left;
            width: 480px;
            min-height: 642px;
            padding: 10px;
            background: #F1EDE1;
            border-left: 1px solid #FFFFED;
        }

    Repaired:

         div#content {
            position: static;
            display: block;
            float: left;
            width: 480px;
            min-height: 642px;
            padding: 10px;
            background: #F1EDE1;
            border-left: 1px solid #FFFFED;
        }

    According to the docs, the superfish author watches this list. He
may have some insight on exactly how to keep the relative positioning
and the menu. I suspect the menu normally displays fine, but under the
#content due to its positioning.


    BTW, I solved this problem by backing out all the stylesheets except
the superfish one. I tested the page and the menu worked in IE. Then I
added stylesheets back in until I isolated the layout stylesheet. Did
more testing. Next I guessed about blocking out whole sections of style
in the layout css and found the above block. Then isolated the problem
line.

    This process is an old program debugging technique. Get down to
something that works, and then slowly heap the frills on until you find
the error again. For simple problems, the last thing you added on is the
most likely culprit. It's a tedious process, but it gets the job done.


HTH,

Charles K. Clarkson
--
Mobile Homes Specialist
Free Market Advocate
Web Programmer

254 968-8328

http://www.clarksonenergyhomes.com/wordpress/about/

Reply via email to