Informations :
Dates
- Publish : : Monday 30 november 2009
- Modification : Saturdy 24 august 2013
- 652 views
Share :
Hack IE6 - IE7
Pour la propriété height: 200px
on ajoutera le hack IE6 : _height: 200px;
puis le hack IE7 : *height: 200px;
à nos déclarations.
Script avec 6 lignes
001div.maclass { 002 height: 200px; 003 _height: 200px; 004 *height: 200px; 005} 006
On aurait aussi pû faire une feuille spécialement pour IE
Script avec 5 lignes
001 <!--[if IE]><![if gte IE 6]><![endif]-→ 002 003 @import url("/ie.css"); 004 005 <!--[if IE]><![endif]><![endif]-→
Mettre de l'opacité sur un div
Script avec 5 lignes
001div.maclass { 002 opacity:0.2; 003 filter : alpha(opacity=20); 004 -moz-opacity : 0.2; 005}