The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Combine border image and background? Reply To: Combine border image and background?


I confess I’m not sure what it is you are trying to do.

Borders are on top of element backgrounds so you can’t overlay them with a background image.

That doesn’t stop you having a background image to the element though…you just have to remove the fill and apply the image.

Now as I said, the image would normally stick out under the border but you can fix that by applying background-clip:padding-box.