Posted By

m-pokrovskii on 01/28/09


Tagged

fix css Expression


Versions (?)

min-width/max-width expression


 / Published in: CSS
 

URL: pokrovskii.com

  1. #gl-wrapper{
  2. zoom:1;
  3. width:expression((document.compatMode && document.compatMode == 'CSS1Compat') ? (document.documentElement.clientWidth < 950 ? "950px" : (document.documentElement.clientWidth > 1280 ? "1280px" : 'auto')) : (document.body.clientWidth < 950 ? "950px" : (document.body.clientWidth > 1280 ? "1280px" : 'auto')));
  4. }

Report this snippet  

You need to login to post a comment.