Currently, I am attempting to create a navbar with images. The goal is to have the navbar centered in the middle with the image repeated on both sides. However, I am running into an issue where the picture is only repeating on the right side. Does anyone have a solution for this?
#leftHalf {
background: url(images/bg-1.jpg);
width: 50%;
position: absolute;
left: 0px;
height: 100%;
}
#rightHalf {
background: url(images/bg-2.jpg);
width: 50%;
position: absolute;
right: 0px;
height: 100%;
}
I also came across this code snippet, but it seems to only address the background. Do I need to separate the navbar into two containers?
This is what I have managed to achieve so far. Any help or guidance would be greatly appreciated.