I'm attempting to create a space within a div's border that can accommodate an image, much like so:
Is there a method to achieve this using only CSS? The only solution I have found is:
.box {
background: url(img.png) bottom left;
border-top: 1px solid #eee;
border-left: 1px solid #eee;
}
However, my issue arises when border-right: 1px solid #eee;
places a line above the image, which is not the desired effect.
This setup must be adaptable. While this image serves as an example, it conveys the overall concept effectively.