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
4 answers

How would I mimic this conditional inclusion of resources in JSF 2?

In short, I'd like to do this (the conditional part, i know how to include with ): I noticed that this comment is being triggered on IE9 Compatibility mode as-well what was not my…
Hugo
  • 12,334
  • 6
  • 30
  • 36
-1
votes
2 answers

IE11 Conditional CSS Comment does not work

I have tried several conditional formats as seen in different sites but can't seem to get this to work. Browser version is IE 11.
-1
votes
2 answers

Else in html conditional for ie

I want to load a .css file if the browser is ie8 or lower and other file if the browser is greater than ie8 or other browser (chrome, safari, etc). I've read that ther isn't an else in html conditional. And the answers here always says to use…
joacoleza
  • 775
  • 1
  • 9
  • 26
-1
votes
2 answers

Conditional Comments

I am a newbie to UI. I see the conditional comments used to identify the IE browser like They work fine but can…
sushmita
  • 1
  • 3
-2
votes
1 answer

CSS Conditional Statement

I'm using conditional statements to load css for a specific version of IE or any other browser. For example, let's say I'm targeting IE7. So I'll use this: and I open page in IE (9) I naturally see the text "Random text". Everything is ok. If I use: I am pretty sure the code is the same regardless…
Doug Hill
  • 19
  • 5
1 2 3
16
17