html - Do i need to use the <noscript> in this code? -


The code below is used in index.html and works properly.

When I try to use the same code () in an HTML file in a subfolder it does not display any CSS.

Is the tag on the main index.html file necessary?

  & lt; Html lang = "en" & gt; & Lt; Top & gt; & Lt; Title & gt; & Lt; / Title & gt; & Lt; Meta http-equiv = "content-type" content = "text / html; charset = utf-8" /> & Lt; Meta name = "description" content = "" /> & Lt; Meta name = "keyword" content = "" /> & Lt ;! - [If lte IE 8] & gt; & Lt; Script src = "css / ie / html5shiv.js" & gt; & Lt; / Script & gt; & Lt ;! [Endif] - & gt; & Lt; Script src = "js / jquery.min.js" & gt; & Lt; / Script & gt; & Lt; Script src = "js / jquery.dropotron.min.js" & gt; & Lt; / Script & gt; & Lt; Script src = "js / jquery.slidertron.min.js" & gt; & Lt; / Script & gt; & Lt; Script src = "js / skel.min.js" & gt; & Lt; / Script & gt; & Lt; Script src = "js / skel-layers.min.js" & gt; & Lt; / Script & gt; & Lt; Script src = "js / init.js" & gt; & Lt; / Script & gt; ** & lt; Noscript & gt; ** & lt; Link rel = "stylesheet" href = "css / skel.css" /> & Lt; Link rel = "stylesheet" href = "css / style.css" /> & Lt; Link rel = "stylesheet" href = "css / style-desktop.css" /> ** & lt; / Noscript & gt; ** & lt ;! - [If lte IE 8] & gt; & Lt; Link rel = "stylesheet" href = "css / ie / v8.css" /> gt; & Lt ;! [Endif] - & gt; & Lt; / Head & gt;  

When you are in the subfolder, add it to display the CSS .. / Infront the relative path of the CSS document. For example:

  & lt; Link rel = "stylesheet" href = "../ css / skel.css" /> & Lt; Link rel = "stylesheet" href = "../ css / style.css" /> & Lt; Link rel = "stylesheet" href = "../ css / style-desktop.css" />  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -