This is a discussion on "CSS menu not working in IE6" within the Web Page Design section. This forum, and the thread "CSS menu not working in IE6 are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS menu not working in IE6
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
CSS menu not working in IE6
Hello, I've used a css drop-down menu that should have worked in IE6 (and even IE5.5), but I have IE6 on an older computer, and when checking, I found out that it clearly does not:
screencap_pa_ie6.jpg It should have looked something like this (screenshot from Opera 9.5 beta): screencap_pa_opera9.jpg It works in Firefox 2+, Opera 9+, IE7 and Safari 3, all for Windows, I've checked. Here's the css:
Thanks! Last edited by karinne; Nov 26th, 2007 at 13:11. Reason: Please attach BIG images. |
|
|
|
|||
|
Re: CSS menu not working in IE6
Sorry, I should say that the original css comes from Stu Nicholls, http://www.cssplay.co.uk/, and you can find it here: http://www.cssplay.co.uk/menus/simple_vertical.html
/J |
|
|||
|
Re: CSS menu not working in IE6
See if that fixes your problem... |
|
|||
|
Re: CSS menu not working in IE6
Thanks Lchad, but this is a css hack to fix IE5.5 faulty box model rendering. Whether one should use these hacks or not, is a different question, but it's not a typo and it cannot explain why practically no content is showing in IE6 (I haven't checked the page in IE5.5 yet).
|
|
|||
|
Re: CSS menu not working in IE6
Here is another issue.
Not sure if it has any bearing on your problem but, every little bit helps. I'd need about 2 hours to go through all that code to see what the problem is. Sorry I don't have time for that at the moment. I'd go line by line and compare what cssplay has for the ie6 hacks and check yours. Don't even both with ie5.5 or earlier. |
|
|||
|
Re: CSS menu not working in IE6
Uhu, Lchad, don't loose any sleep over it! Seriously. I have to go over it line by line myself. I'm sorry, it was a lot of code.
I agree, I am not going to worry about IE5.5, I was almost thinking "why worry about IE6" as well, but there are still a lot of people on IE6. But for a moment I thougth about getting a browser detection script that wil simply redirect you to another page saying "Your browser cannot render this page. Please update." Or something like that. Anyway, thanks for offering to go through it all; you are very kind. |
|
|||
|
Re: CSS menu not working in IE6
You can also use a conditional comment for your <link>ed stylesheet. Like this:
Hope that helps
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
|||
|
Re: CSS menu not working in IE6
Yes, I guess, but then I would have to create a separate css for IE6 and twek the template design for IE6 as I will not be able to use the drop down flyout menu...
|
|
|||
|
Re: CSS menu not working in IE6
At least it's kinder to your users than telling them "You can't come in here. Get an upgrade!" You will lose viewers that way...
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
||||
|
Re: CSS menu not working in IE6
if you want to quickly and easily compare files then take a look at windiff.
It will highlight the differences for you, so no need to go through line by line by hand. Stew
__________________
WelshStew Lead Administrator tierney rides tboard - uk site | xtreme wales - extreme clothing If you think I've helped, click the "Thanks" webforumz - facebook | LinkedIn
Last Blog Entry: Web Standards Curriculum Launched (Jul 8th, 2008)
|
|
|||
|
Re: CSS menu not working in IE6
I guess it would be better to allow for a separate css file for IE6 rather than turning users away. But damn: I wish they'd upgrade!
I might try out windiff - thanks for the tip! /J |
|
|||
|
Re: CSS menu not working in IE6
Just an update:
I haven't been able to solve this altogether, but at least I've managed to make the page load in IE6 - and I'm now completly forgetting about IE5.5, even though this menu should in principle work for that browser as well. Not all items in the menu are visible yet, but I'm working on it. The problem seems to have been, partially at least, inconsistent use of conditionals. In order to make the dropdown/flyouts work, the author of the original css code used conditionals for the IE browsers:
This is a bit complicated and I would probably have been much better off with a simpler way of creating these menus, using javascript and dhtml. But, it s a pure css menu and it should validate.. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Working on a drop down menu, but the dropdown section doesn't overlap div below in IE | MikeTheVike | Web Page Design | 1 | Mar 25th, 2008 17:32 |
| preloader not working with a sliding menu script | nikising | Flash & Multimedia Forum | 4 | Jun 5th, 2007 14:58 |
| I have a normal css menu, but want ot add drop down menu to it | multichild | Web Page Design | 7 | Jan 9th, 2007 16:07 |
| Drop Down Menu not Working Since I added Toggle Javascript to Page | davva | JavaScript Forum | 1 | May 19th, 2006 15:03 |
| Png not working | timmytots | Graphics and 3D | 11 | May 14th, 2006 07:06 |