mardi 28 mai 2019

CSS error: Image CSS set permanently to 'display:none ! important;

Well, basically i created a image inside a div using the img tag in a HTML file that i've been writing and the image just wont show up on the browser. Inspect says the image cannot be loaded and it's CSS is set to 'display: none!important'.I wasn't able to untick it even in inspect. Can you help me?

  1. No class was declared on the img tag and the div holding it.
  2. I haven't written the 'display:none!important' css anywhere on the page. 3.There are other images in the same page which is displaying perfectly fine. I placed another image on the div which is holding my problem-image and even it is showing up. Renaming the image works too [Although i would like to know why].

Any other image will work fine,The image is now kept renamed by finding it in finder, the error is gone now. But i still would like to know why it is so. If i rename it back. The error will appear once again.




Aucun commentaire:

Enregistrer un commentaire