I would like to use a local css in my dash app. I followed the steps explained in the dash documentation, section "Adding Your Own CSS and JavaScript to Dash Apps".
When I try it out in my Linux environment with Firefox, it works perfectly fine as expected.
Then I tried it under Windows, the result was ugly (I made the try with IE, Firefox, and Chrome).
A glance at the html source code shows that in the case of Windows, there was no link in the header pointing to the css file, while I got it in my Linux browser:
And have the CSS files in a folder named ‘css’ the following path:
“C:\Users\username\AppData\Local\Continuum\Lib\site-packages\dash_core_components”
Which is my path to my dcc package.
Thank you both for your help. Chris got it right, even though I installed dash not so long ago, upgrading my windows version fixed the issue. It’s a relief to see that the easy way described in the documentation works everywhere and that there is no need for fancy tricks