Currently encountering an issue, but unsure of the cause.
My HTML page has image links like this:
<span class="tribar" onclick="openNav()"><img src="url_here"></span>
I attempted to remove all image URLs from the HTML code and place them in the CSS. Here's what I did:
<span class="tribar" onclick="openNav()"></span> // HTML
.tribar {
display: inline-block;
background-image: url("image_url") no-repeat top left;
width: 220px;
height: 220px;
}
However, my HTML span now appears blank and I'm unable to identify the issue.
This seems like a simple mistake that I can't seem to pinpoint.