Weird Folder/Stylesheet Behavior???
I have now been able to create a template and webpage that utilizes conditional comments to choose the correct stylesheet. However, I have noticed a weird behavior in which a page uploaded to the website works fine unless I place the same page inside of a folder. When the file is placed inside the folder, the IE browser seems to ignore the conditional comments. How do I correct this?
Here is the first file, which works: http://tehome.net/sale3.html
Here is a copy of the sale file inside a folder: http://tehome.net/sale-stuff/sale4.html (which ignores the conditional comments)
Just use the full path to link the stylesheet...
Right now you're using:
<link href="ie-stylesheet.css" rel="stylesheet" type="text/css">
on the first page, (http://tehome.net/sale3.html) it's pulling in:
on the second page, (http://tehome.net/sale-stuff/sale4.html) it's pulling in:
which does not exhist.
if you hard code the full path as such it will always pull from the correct location:
<link href="http://tehome.net/ie-stylesheet.css" rel="stylesheet" type="text/css">