
Working with border-image
Hey, has anyone had luck with using border-image with CSS3 PIE? I realize there's only preliminary support, but I'm not sure how far that goes. Syntax, caveats, etc are listed as TODO in the documentation, so I'm making some guesses.
Here's what I'm using:
Code:
div.callout {
width: 200px;
border: 20px solid #c5dc6c;
behavior: url(/PIE.php);
-moz-border-image: url(/images/callout_bg_1.png) 20% 20% 20% 20% stretch stretch;
-webkit-border-image: url(/images/callout_bg_1.png) 20% 20% 20% 20% stretch stretch;
-pie-border-image: url(/images/callout_bg_1.png) 20% 20% 20% 20% stretch stretch;
border-image: url(/images/callout_bg_1.png) 20% 20% 20% 20% stretch stretch;
}
One thing I noticed (in IE6, at least) is that using values of '20' instead of '20%'
appears to crash the browser. But this is the first time I've worked with border-image, so there may be something wrong with my syntax. Does anybody see any problems with the above style block?