IE5/6 border transparency

16 views
Skip to first unread message

InMarket

unread,
Jul 21, 2011, 5:19:30 AM7/21/11
to ie7-js
Added the following to ie7-squish.js (ie6 fixes with side effects) to
allow border transparency ...

// Transparency support for borders - 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");

Thanks for the wonderful code. It saved my bacon with IE6
compatibility.
Reply all
Reply to author
Forward
0 new messages