Closed (works as designed)
Project:
css3pie
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2012 at 06:47 UTC
Updated:
16 Jan 2012 at 18:07 UTC
just a head's up to anyone looking to add image-border support via a custom theme's css file... it requires an absolute path to the image, or else CSS3 PIE can't find it.
for example:
.selector img {
-moz-border-image: url("../images/border.jpg") 10 10 10 10;
-webkit-border-image: url("../images/border.jpg") 10 10 10 10;
-o-border-image: url("../images/border.jpg") 10 10 10 10;
border-image: url("/sites/all/themes/yourthemename/images/border.jpg") 10 10 10 10; /* add absolute path so CSS3 PIE can find it */
border-width: 10px;
}
Comments
Comment #1
iler commentedThis is a problem of the PIE library itself and not this module. Right place to report this is http://css3pie.com/
Comment #2
mudjunky commentedahh you're right:
http://css3pie.com/documentation/known-issues/#relative-paths
thanks!