This is a discussion on "Firefox ignores IE-Hack??" within the Web Page Design section. This forum, and the thread "Firefox ignores IE-Hack?? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Firefox ignores IE-Hack??
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Firefox ignores IE-Hack??
Hallo guys,
I have a terrible IE problem that I`m trying to fix since weeks! It`s the dropdown thing. Well, I`ve just managed to get my submenu in IE visible and in Firfox everything went completely chaotic! I have done everything as it is explained and still, it wont work like it should. I hate it! So, why is all this. In the html I have used the IE detect hack:
In the ie6.css I have only told IE, it should load gifs instead of pngs, and gave the submenu-link a 100% width, in order to IE actually show it :
Why is that? How can I keep both css-styles separated(Firefox should load png and IE gif, width, etc.)? I`ve used the standart IE-detecting hack I thank you in advance! Last edited by karinne; Nov 13th, 2007 at 13:24. Reason: Please use vBcode when adding code in your post. |
|
|
|
|||
|
Re: Firefox ignores IE-Hack??
Please post a link so we can see your actual code.
For a start, I don't know why you bother fixing IE5. Hardly anyone uses it; it's a dead browser. And why the odd mixture of <style> and <@import>? What's wrong with a simple <link>ed styelsheet? |
|
|||
|
Re: Firefox ignores IE-Hack??
Mike, don't you mean IE6? myforum did not say anything about IE5, but gathering from his/her <!--[if lt IE 6]> declaration, I'd say s/he means IE6. That declaration, by the way, myforum, is wrong. It's <!--[if IE 6]>. The "It" should not be there...
As for the linked stylesheet Mike was talking about, this is what he means:
Cheers
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
|
|||
|
Re: Firefox ignores IE-Hack??
hi guys,
I actually didn`t use the @import command but the <link href...>, I`ve just tried if it makes difference. Swanger, I`ve tried it like u suggested... it still goes wrong
Last edited by karinne; Nov 13th, 2007 at 13:24. Reason: Please use vBcode when adding code in your post. |
|
|||
|
Re: Firefox ignores IE-Hack??
I am no expert on this but try:
|
|
||||
|
Re: Firefox ignores IE-Hack??
Try:
|
|
|||
|
Re: Firefox ignores IE-Hack??
Quote:
Post a link. Otherwise it's difficult to help you. |
|
||||
|
Re: Firefox ignores IE-Hack??
Also Swagner, "lt" means Less Than so "lt IE 6" means IE5 and below....
|
|
|||
|
Re: Firefox ignores IE-Hack??
Oh, ok. The only reason it could be going wrong then is that you are using ref instead of href.
By the way, since the title of this thread is "Firefox ignores IE-Hack" I'm guessing that you want Firefox to read the stylesheet, no?. Firefox is supposed to ignore it, is specified for only IE. If you want the styles to apply to Firefox as well, get rid of the <!--[if IE 6]> and the linked stylesheet will be read by all browsers.
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A Nofollow Hack | Corey Bryant | Webforumz Cafe | 3 | Oct 28th, 2007 12:41 |
| HELP!! The underscore hack | charlie019 | Web Page Design | 3 | Aug 6th, 2007 19:42 |
| Box Model Hack? | jwalker80 | Web Page Design | 4 | Feb 2nd, 2007 02:10 |
| need an IE hack please | moisea | Web Page Design | 2 | Oct 19th, 2006 22:32 |
| 100% Height [ non CSS hack] | Roy2001 | Web Page Design | 3 | Aug 7th, 2006 14:00 |