none
Internet Explorer 11 Ignores CSS RRS feed

  • Question

  • Hello,

    If I run my application (aspx/HTML5) on my local host it runs fine (Visual Studio 10), build and load my app up to the server there is no CSS rules are observed IE only.  I F12 for debugger and it all of a sudden works fine, I dismiss the debugger, and back to no CSS.  My application on the server (AND Local Host) Works fine (in Chrome and FireFox).  There are no active console.log() in any .js files - meta tags are as follows:

    <meta http-equiv="X-UA-Compatible" content="IE=edge" />

    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">

    <META HTTP-EQUIV="Expires" CONTENT="-1">

    I've cut and pasted all my css into csslint and tested... all was good, I then split the file into two css files (running out of options) to limit selectors.... still won't work.  EI only!  I cannot debug it due to the debugger automatically "fixing" it.

    I believe this is something in IE because of the fact that it works fine in Chrome AND FireFox AND when the app is run in IE debugger mode.  I've read that ajax can cause problems if no caching is used in the call, so I tried to cache:false in my routine... still IE didn't work properly.

    The css file is in an external file, and is last in order of CDN's between the

    <head>

    <link rel="stylesheet" type="text/css" href="css1.css" />

    <link rel="stylesheet" type="text/css" href="css2.css" />

    </head> 

    tried loading it at the end of the <form> and that didn't fix anything either.  I thought maybe a racing condition was passing the css call, but I can alert() and it shows that it's loaded.  I've run out of ideas and spent two days on this now... help... please...

    Thanks,

    John


    John

    Friday, December 21, 2018 2:16 PM

All replies

  • Hi jsjm4,

    I suggest you to try to open that same page from any other machine in IE to check that whether this issue is machine specific or it can be produce using any IE application.

    If you find that your page working fine on other machine with IE than you can try to reset your IE application may help to solve the issue.

    If issue can be producible on multiple machines with IE than I suggest you to provide a sample code or sample project to make a test with it.

    We will try to produce the issue and try to find the cause for it.

    Let us know about your testing result.

    We will try to provide further suggestions, If needed.

    Regards,

    Deepak


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, December 24, 2018 1:31 AM
    Moderator
  • Yes, running on my local host (my pc) it runs fine, running on our production server is where it messes up... but not in debug mode.

    John

    Saturday, December 29, 2018 4:59 PM