-1

Possible Duplicate:
Is there any equivalent to IE conditional comment for chrome and safari?

To target IE 8

<!--[if IE 8]> add IE 8 specific code (JS/HTML/CSS) <![endif]--> 

Can found similar kind of solution for Firefox ?

Thanks for your attention

3

2 Answers 2

0

Yes

Conditional Comments:

  1. IE (Any version of IE)
  2. lt IE version (Versions less than version)
  3. lte IE version(Versions less than or equal to version)
  4. IE version (Only version)
  5. gte IE version (Versions greater than or equal to version)
  6. gt IE version (Versions greater than version)
  7. IE - Internet Explorer
  8. ! Opera = not opera
  9. Gecko - Gecko based browsers (Firefox, Camino etc)
  10. Webkit - Webkit based browsers (Safari, Chrome, Shiira etc)
  11. SafMob - Mobile Safari (iPhone / iPod Touch)
  12. Opera - Opera's browser
  13. IEMac - Internet Explorer for the Mac
  14. Konq - Konqueror
  15. IEmob - IE mobile
  16. PSP - Playstation Portable
  17. NetF - Net Front
Sign up to request clarification or add additional context in comments.

Comments

-2

There are no conditional comments for Firefox. If you want that, you must use JavaScript.

EDIT

There aren't conditional tags in Firefox, if you want to do something for a specific browser, you must use JavaScript.

2 Comments

There aren't conditional tags in Firefox, if you want that, you must use JavaScript. What is it that is out of context?
Ok, bad english in first answer, sorry. Why do you need conditional tags?