Cascading Style Sheets

 Charge moyenne 1mn : 4.56 Charge moyenne sur 5mn : 2.31 Charge moyenne sur 15mn : 1.52


CSS

Style sheets (in English "Cascading Style Sheets", abbreviated CSS) are a language used to manage the presentation of a Web page.





Site user blocks : Account info / user rights / summary

Hack CSS

Vous êtes webmaster ou intégrateur.. et donc confronter au soucis de conformité..

Informations :

Dates
  • Publish : : Monday 30 november 2009
  • Modification : Saturdy 24 august 2013

  • 676 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}


Keyword :

css






Load page: 2,8911399841309