Is there a way to hide an <img>
element without accessing the HTML directly, only by using CSS?
The <img>
element does not have any specific class.
Here is the HTML markup:
<img title="Manual" id="imgAjuda" src="images/ico_aj.png" width="16" height="16">
If I attempt to set the background-image
property in the CSS for the #imgAjuda
selector, it naturally places the background image behind the actual image. Is there a CSS solution to effectively block or hide the <img>
tag instead?
The current CSS style applied:
#imgAjuda {
width: 24px;
height: 24px;
background-image: url(../images/MinhaConta.png) !important;
}