Hello all,

I'm attempting to use the new CSS3 border-image property to create a  
notification-styled element within a current project. The  
(significant) CSS I'm using looks like this:

        div.notification
        {
                
-webkit-border-image:url(http://img.skitch.com/20100129-c1ec59yaejaqx9xbpah3n3pyw5.png
 
) 10 20 10 10 repeat repeat;
                
-moz-border-image:url(http://img.skitch.com/20100129-c1ec59yaejaqx9xbpah3n3pyw5.png
 
) 10 20 10 10 repeat repeat;
                border-width:10px 20px 10px 10px;
        }

You can take a look at the actual image I'm using as my source here to  
get an idea of how it should look, or you could just look at the  
simple test page I've knocked up here: 
http://dl.dropbox.com/u/299613/border-image.html 
. Currently this works perfectly as intended in Firefox 3.5, but in  
Safari 4 whilst the border-image is applied and the border widths are  
all correct, the right-hand border is repeating the flat edge of the  
source image, rather than being centred on the middle of the right  
side of the image (the chevron which forms a ‘speech bubble’ effect).

After a pretty exhaustive search of the existing documentation on the  
border-image property, I've been unable to find any pointers to  
explain why Safari is behaving in the way it is (although it could of  
course be a bug), so I'd love to hear from anybody who might have any  
suggestions as to a remedy.

Cheers,
~B
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to