CSS menu works with Firefox, Opera, but not with IE |
[eluser]mkmkmk[/eluser]
Hi everybody A very strange situation, so I am unsure how to explain my problem. The title is not correct: if I parse all thing into a variable and store it with file_put_contents() into a file, yes, than it works also with IE. This works with FF and Opera, but not with IE: the sub-menues are not displayed. Code: $this->parser->parse('header', $data); Then I tried this: Code: $nix = $this->parser->parse('header', $data, TRUE); But if I change the extention of nix123.php to html and double-click on it, than it works fine with IE. I hope I was able to describe my problem understandable. Edit: Tested with 2.1.1 and 2.1.2 Edit2: Tested with IE8
[eluser]mkmkmk[/eluser]
I played a little bit around. With this code also IE is running fine. But of course, it is a very ugly temporary solution: Code: $nix = $this->parser->parse('header', $data, TRUE);
[eluser]blekknajt[/eluser]
So You are saying that generated code (as in source) in Opera is different than this in IE?
[eluser]InsiteFX[/eluser]
In IE your sub-menus are probaly going behind your div. This is a CSS problem with IE to fix you need to add zindex to your CSS code for your menus.
[eluser]mkmkmk[/eluser]
Okay, let's assume this is a IE problem. But why does the page runs in IE without problem, if I redirect CI outputs to a file and open this file in IE?
[eluser]mkmkmk[/eluser]
Inserting z-index property did not solve the problem.
[eluser]blekknajt[/eluser]
One thing comes to my telepathic mind: Quote:Quirks mode in any version of IE will also be triggered if anything precedes the DOCTYPE. For example, if a hypertext document contains a comment or any tag before the DOCTYPE, IE will use quirks mode: Code: <!-- This comment will put IE 6, 7, 8, and 9 in quirks mode -->
[eluser]mkmkmk[/eluser]
I know that without code it is very hard to help. But for me it would be very difficult to extract this part of code from all others. Maybe I could delete all the business data and publish here a time-limited url; but I am not sure if this would help to find the problem. But anyway: for myself I find a way to circumnavigate this problem. But I'm pretty nearly certain that this could be a bug.
[eluser]mkmkmk[/eluser]
With the famous "try & error" methode I found a better solution: If I insert a Code: <!DOCTYPE HTML> Can someone please explain me the reason for this behaviour? |
Welcome Guest, Not a member yet? Register Sign In |