Paths in page work fine with FF and Chrome but break under IE. |
[eluser]pocketmax[/eluser]
Check this out... [disabled].com Load the site in FF and Chrome and it works fine. But in IE6, all the links (all relative) break. What gives? I checked my config and everything works fine.
[eluser]CroNiX[/eluser]
Have you tried using real links instead of javascript? Your site won't even work if js is turned off...
[eluser]pocketmax[/eluser]
I'm not talking about the heading links. I'm talking about everything. CSS, js includes, images etc etc. That stuff is just normal html like Code: <img src="/something.gif">
[eluser]stuffradio[/eluser]
I'm not seeing any problems right now, but for one thing you mentioned IE 6. Don't even bother supporting that old thing.
[eluser]pocketmax[/eluser]
But isn't IE6 still the most popular microsoft web browser? Granted there is still IE7 and IE8 but not everyone has migrated to either of those yet.
[eluser]cideveloper[/eluser]
I guarantee your "<base>" tag is screwing things up. try this Code: <base href="/"><!--[if lte IE 6]></base><![endif]--> Edit: I hate ie6 and refuse to support it. Eventually clients come around when they see the cool stuff you can do with a modern browser.
[eluser]pocketmax[/eluser]
I just deleted the <base> tag and everything worked!! That base tag is satin!!! Why would anyone use such a thing? It seems to be totally pointless especially when other browsers and future versions of IE don't need it at all.
[eluser]cideveloper[/eluser]
I guess if you want your relative links not to be relative to the page you are on EXPLANATION
[eluser]Atharva[/eluser]
It is always better to use Code: base_url() |
Welcome Guest, Not a member yet? Register Sign In |