what about the leading slash on /css/ie9.css ?? if the css folder is the
same level as the html file, then no slash, right? and if above the current
folder then two dots first, as …/css/ie9.css ???
–
Ernie Simpson
On Tue, Oct 23, 2012 at 9:29 PM, Todd email@hidden wrote:
Is there something different about IE 9 with regard to conditional
comments? I can’t get mine to work.
The thing is if I target IE8 or 7 using the same syntax it works. I’ll try your suggestion.
Thanks
On Oct 23, 2012, at 9:32 PM, Ernie Simpson email@hidden wrote:
what about the leading slash on /css/ie9.css ?? if the css folder is the
same level as the html file, then no slash, right? and if above the current
folder then two dots first, as …/css/ie9.css ???
I’m probably wrong… the leading slash seems to be something called a
“root-relative” path and should be the equivalent of calling a document at
the same level.
Is there a problem at the css file? Maybe it’s the css code’s not working?
Me just guessing.
–
Ernie Simpson
On Tue, Oct 23, 2012 at 11:58 PM, Todd email@hidden wrote:
The thing is if I target IE8 or 7 using the same syntax it works. I’ll try
your suggestion.
Thanks
On Oct 23, 2012, at 9:32 PM, Ernie Simpson email@hidden wrote:
what about the leading slash on /css/ie9.css ?? if the css folder is the
same level as the html file, then no slash, right? and if above the
current
folder then two dots first, as …/css/ie9.css ???
A reasonable guess and one that I considered but even the most basic of CSS doesn’t work. It seems I’m not alone in this as I’ve found many others who have had problems with v9 and CC. Curious.
Todd
On Oct 23, 2012, at 11:41 PM, Ernie Simpson email@hidden wrote:
I’m probably wrong… the leading slash seems to be something called a
“root-relative” path and should be the equivalent of calling a document at
the same level.
Is there a problem at the css file? Maybe it’s the css code’s not working?
Me just guessing.
On Oct 24, 2012, at 12:44 AM, Todd email@hidden wrote:
A reasonable guess and one that I considered but even the most basic of CSS doesn’t work. It seems I’m not alone in this as I’ve found many others who have had problems with v9 and CC. Curious.
Todd
On Oct 23, 2012, at 11:41 PM, Ernie Simpson email@hidden wrote:
I’m probably wrong… the leading slash seems to be something called a
“root-relative” path and should be the equivalent of calling a document at
the same level.
Is there a problem at the css file? Maybe it’s the css code’s not working?
Me just guessing.
It looks like IE 9 contains a bug (who would have thought it?) where conditional comments with no leading space are ignored. It appears you can either add the space or set the content type of the page and the comment should work again.
Regards,
Tim.
On 24 Oct 2012, at 02:29, Todd wrote:
Is there something different about IE 9 with regard to conditional comments?
That stackoverflow post is misleading, see the Answer (and my comment
in the Question.) It appears that the one who asked the question failed
to add the ! - in the <![endif]–>, which in turn explains why adding
the space helps …
I am not able to replicate the problem.
I would suggest that Todd sends us a link to a page which demoes the
problem that he experience.
Leif H Silli
Tim Plumb, Wed, 24 Oct 2012 08:49:21 +0100:
Hi Todd,
This thread on Stack Overflow may help;
It looks like IE 9 contains a bug (who would have thought it?) where
conditional comments with no leading space are ignored. It appears
you can either add the space or set the content type of the page and
the comment should work again.
Regards,
Tim.
On 24 Oct 2012, at 02:29, Todd wrote:
Is there something different about IE 9 with regard to conditional
comments?
I also found that post yesterday and Leif is correct, though I tried just to be sure. No luck. I’ll put an example online when I have a moment.
Thanks to you both.
On Oct 24, 2012, at 7:34 AM, Leif H Silli email@hidden wrote:
That stackoverflow post is misleading, see the Answer (and my comment
in the Question.) It appears that the one who asked the question failed
to add the ! - in the <![endif]–>, which in turn explains why adding
the space helps …
The only way (I think) I can replicate this is if I press the
Compatibility View button in IE9.
The effect of the compatibility view button can be replicated with the
F12 Developer Tools: Just select Browser Mode IE9 Compatibility View.
As much as I understand, a Web page cannot force the Compatibility View
this has to be done by the user. So if you have the F12 Developer
tools installed, have you verified that this is not something only you,
the developer, see?
Leif H Silli
Todd, Wed, 24 Oct 2012 09:48:02 -0500:
Hi Leif & Tim,
I also found that post yesterday and Leif is correct, though I tried
just to be sure. No luck. I’ll put an example online when I have a
moment.
Thanks to you both.
On Oct 24, 2012, at 7:34 AM, Leif H Silli email@hidden wrote:
That stackoverflow post is misleading, see the Answer (and my comment
in the Question.) It appears that the one who asked the question failed
to add the ! - in the <![endif]–>, which in turn explains why adding
the space helps …