antirek / ie7-js

Automatically exported from code.google.com/p/ie7-js
0 stars 1 forks source link

Transparent Border support in ie5,6 (solution included). #336

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Patch to support transparent borders on IE5 & 6 (put in ie7-squish.js)

  // Transparenct border support - don't use color #FFFFFE anywhere you want transparent borders
  IE7.CSS.addFix(/border(\-left|\-right|\-top|\-bottom)?(\-color)?\s*:\s*([^;}]*)transparent([^;}]*)/, "filter:chroma(color=#FFFFFE);border$1$2:$3#FFFFFE$4");

Original issue reported on code.google.com by andrew.h...@gmail.com on 22 Jul 2011 at 5:16