当我将边框图像与填充一起使用时,它不会作为完整图像填充,而是单独填充,并且由于填充上的纹理,它看起来很糟糕。我能做些什么?
<td class="heading">
This is a heading
</td>
<style>
.heading {
padding:10px;
border-style: solid;
border-width: 27px 51px 27px 27px;
-moz-border-image: url('http://img24.imageshack.us/img24/4189/brownfill.png') 27 51 27 27 repeat;
-webkit-border-image: url('http://img24.imageshack.us/img24/4189/brownfill.png') 27 51 27 27 repeat;
-o-border-image: url('http://img24.imageshack.us/img24/4189/brownfill.png') 27 51 27 27 repeat;
border-image: url('http://img24.imageshack.us/img24/4189/brownfill.png') 27 51 27 27 fill repeat;
}
</style>
jsFiddle在这里:http: //jsfiddle.net/zWygk/