Questions tagged [conditional-comments]

Conditional Comments are a feature of Microsoft's Internet Explorer web browser. They allow a web page to check the browser version.

Conditional Comments are a feature of Microsoft's Internet Explorer web browser. They allow a web page to check the browser version.

See the various articles in the matter:

248 questions
0
votes
1 answer

IE Conditionals Causes .LESS error

I having an issue with LESS processing a file that has IE conditionals. For example I have a normal .less file and the last lines in the file are as follows.
This is not IE, you are…
BackSlash
  • 21,927
  • 22
  • 96
  • 136
0
votes
1 answer

clientScript package with conditional comment

Having searched around quite a bit to no avail I'm wondering if there is a way to assign JS and CSS files to a package with a conditional statement (i.e. But what values does WindowsEdition use? Basically I'm trying to use a conditional comment to detect if users of Internet Explorer…
Niet the Dark Absol
  • 320,036
  • 81
  • 464
  • 592
0
votes
1 answer

IE Mobile conditional comment is read by ie8 and lower

I am developing a responsive site and do use media queries, which are not read by IE8 as well as the internet explorer on windows phone. Therefore I am using conditional comments for these. For IE8 and lower I use the following snippet to include…
0
votes
2 answers