srvijay78 — 2013-11-22T06:08:51-05:00 — #1
I have problem in IE10, IE9 my website css External Stylesheet not working but internal styles working fine,
could you please share your this issues solutions.
guido2004 — 2013-11-22T06:37:27-05:00 — #2
Please post the code of your link to the external style sheet.
srvijay78 — 2013-11-22T07:17:07-05:00 — #3
<link rel="stylesheet" type="text/css" href="menu.css" />
guido2004 — 2013-11-22T07:52:31-05:00 — #4
And you're sure your stylesheet is called menu.css and it is present in the same folder as the html file?
Does it work in other browsers? (FF, Opera, Chrome)
ralphm — 2013-11-22T07:58:23-05:00 — #5
As guido says, the way you have set that up means that the CSS file will need to be in the same folder as the page it's linked to. That code you posted needs to be in the head of the document. And make sure that the file name is all in lower case, to match the code above.
srvijay78 — 2013-11-22T08:09:45-05:00 — #6
yes css file same folder and otherwise my page working other browser. (ff, chorme, Opera).
srvijay78 — 2013-11-22T08:18:22-05:00 — #7
code like this...
but i need css external link.. can you please check it.
ralphm — 2013-11-22T17:48:10-05:00 — #8
Does the jsFiddle example not work for you in IE9/10? It works fine for me. :-/
francky — 2013-11-23T00:05:16-05:00 — #9
If it's working for IE9/IE10 as styleblock in the head, then the styles must be OK.
If the external stylesheet is working in FF etc., then the reference (filename and directory) must be good.
- Are there other stylesheets called in the head (in a Conditional Comment, so IE-only), that can overrule the menu-stylesheet?
- Are you real (online) testing with a real IE9/IE10? (not a Preview in an editor)
mitesh881job — 2014-07-04T02:49:40-04:00 — #10
I was struggling with some thing similar in which file was started with <!DOCTYPE html> tag
Solution in my case was to end the the external link, which was understood by firefox but not by ie9 or chrome.
So, link became for me as
<link href="static/css/skin-custom/custom.css" rel="stylesheet"
technobear — 2014-09-15T13:53:19-04:00 — #11
I moved a post to an existing topic: IE will not read external stylesheet
technobear — 2014-09-15T13:53:55-04:00 — #12
This topic is now closed. New replies are no longer allowed.