CSS: impostare le classi per Internet Explorer 8

CSS: impostare le classi per Internet Explorer 8

Se siete ancora costretti per motivi di lavoro a supportare IE8, dovete impostare delle classi CSS aggiuntive.

La soluzione è la seguente:


<!DOCTYPE html>
<!--[if IE 8 ]> <html class="ie8"> <![endif]-->
<!--[if (gt IE 8)|!(IE)]><!--><html class="modern-browsers"><!--<![endif]-->
<head>

Torna su