As Alex said, its not really possible with current CSS2 supporting browsers. But with HTML you can do it like this:
<div class='my-panel'>
<div class='top-left-corner'/>
<div class='top-right-corner'/>
</div>
Then with CSS you would apply your images like so:
.my-panel {
background: transparent url('internalfill.png');
position: relative;
}
.my-panel .top-left-corner {
background: transparent url('top-left.png') no-repeat;
position: absolute;
top: 0;
left: 0;
width: 20px;
height: 20px;
}
.my-panel .top-right-corner {
background: transparent url('top-right.png') no-repeat;
position: absolute;
top: 0;
right: 0;
width: 20px;
height: 20px;
}
This is obviously a bit verbose, and could be optimised a little with additional CSS classes allowing you to reuse the width/height properties. There are also a variety of other methods for achieving this behaviour, but this is the one I find the simplest without using modern browser features.