Hey there! I'm having an issue with setting a 1px png file as a background image for two adjacent divs that are next to each other horizontally. Here's the HTML and CSS code:
<div id='one'>hi</div>
<div id='two'>hello</div>
Here is the CSS code:
div {
width: 50%;
height: 50%
}
#one, #two {
background-image: url(/images/image.png);
background-repeat: repeat;
}
The issue I'm facing is that a black border appears between the two divs when the image is set as the background. I don't want them to look like separate blocks. Your help would be greatly appreciated since I am new to CSS and need some guidance! Thank you in advance!