# Display:none not working on img tags?

**URL:** <https://forum.kirupa.com/t/display-none-not-working-on-img-tags/302753>\
**Category:** Uncategorized\
**Created:** [January 6, 2010, 11:37pm UTC](https://forum.kirupa.com/t/display-none-not-working-on-img-tags/302753 "2010-01-06T23:37:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShooterMG](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/shootermg/32/3695_2.png) [@ShooterMG](https://forum.kirupa.com/u/ShooterMG)\
**Post date:** [January 6, 2010, 11:37pm UTC](https://forum.kirupa.com/t/display-none-not-working-on-img-tags/302753/1 "2010-01-06T23:37:35Z")

</div>

I have a TextField that has been populated with html text, which includes images using the \<img\> tag. I don’t want to display these images to the user, however when I apply a StyleSheet with the img tag having the display property set to none, it doesn’t appear to work.

img {display:none;}

Any ideas? Isn’t this what display:none is supposed to do?
