JSF 2 how to set html style depending on browser version
问题 What i want to do in my JSF 2 application is to set proper html style depending on browser version, here is sample code: <!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]--> <!--[if IE 7]> <html class="lt-ie9 lt-ie8" lang="en"> <![endif]--> <!--[if IE 8]> <html class="lt-ie9" lang="en"> <![endif]--> <!--[if gt IE 8]><!--> <!--<![endif]--> How to do that in JSF 2? What is the best/simplest way? I found something interesting in Omnifaces ( o:conditionalComment ) but it