# CSS: div bg image

**URL:** <https://forum.kirupa.com/t/css-div-bg-image/220320>\
**Category:** web dev\
**Created:** [March 25, 2007, 3:16am UTC](https://forum.kirupa.com/t/css-div-bg-image/220320 "2007-03-25T03:16:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kdd](https://avatars.discourse-cdn.com/v4/letter/k/ecb155/32.png) [@kdd](https://forum.kirupa.com/u/kdd)\
**Post date:** [March 25, 2007, 3:16am UTC](https://forum.kirupa.com/t/css-div-bg-image/220320/1 "2007-03-25T03:16:36Z")

</div>

I’m trying to do div background image (border like image) using css. Since this is my first time, I’m having a hard time. I have border on the left side, but I can’t seem to get border on the right side. Some code and explanation would be great. Thanks. :beam:
