Gérer les tailles maximum avec IE6 hauteur et largeur

janvier 23rd, 2009

Juste un petit code de rien du tout dans la feuille css et ça marche !

/* Code spécial IE */
  _width: expression((this.offsetWidth>=this.offsetHeight) ?
      Math.min(parseInt(this.offsetWidth), 360 ) : true);
  _height: expression((this.offsetHeight>this.offsetWidth) ?
      Math.min(parseInt(this.offsetHeight), 330 ) : true);

Merci http://blog.developpez.com/adiguba?title=max_width_et_max_height_avec_ie ;=)


3 Responses to “Gérer les tailles maximum avec IE6 hauteur et largeur”

  1. MibeOrdide on mai 24, 2009 20:20

    Hi, courteous posts there :-) hold responsible’s concerning the interesting word

  2. Pounclomo on juin 5, 2009 17:50

    Hi, Congratulations to the site owner for this marvelous work you’ve done. It has lots of useful and interesting data.

  3. dodenkrant on juillet 11, 2009 12:41

    Thank you. I am pleased to read your article.

Comments RSS

Leave a Reply

You must be logged in to post a comment.