# Keeping the CC image as is, while changing other images using CSS

**URL:** <https://forum.code.org/t/keeping-the-cc-image-as-is-while-changing-other-images-using-css/20237>\
**Category:** Unit and Lesson Discussion\
**Tags:** csd-unit-2, csd-unit-2-lesson-14\
**Created:** [September 26, 2018, 5:15pm UTC](https://forum.code.org/t/keeping-the-cc-image-as-is-while-changing-other-images-using-css/20237 "2018-09-26T17:15:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lsaylor](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/lsaylor/32/2149_2.png) [@lsaylor](https://forum.code.org/u/lsaylor)\
**Post date:** [September 26, 2018, 5:15pm UTC](https://forum.code.org/t/keeping-the-cc-image-as-is-while-changing-other-images-using-css/20237/1 "2018-09-26T17:15:23Z")

</div>

My students are struggling with their images using css. When they choose a height and width for the images they included on their html pages, the cc license images all get changed. They want that one to stay small. How would you suggest they go about fixing that? We tried doing using a “class”, but it isn’t working.

---

<div class="post-metadata">

**Author:** ![edavis](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/edavis/32/4927_2.png) [@edavis](https://forum.code.org/u/edavis)\
**Post date:** [September 26, 2018, 10:49pm UTC](https://forum.code.org/t/keeping-the-cc-image-as-is-while-changing-other-images-using-css/20237/2 "2018-09-26T22:49:19Z")

</div>

My students had the same problem. We settled on making a CC class and applying it to the CC images in our CSS. This did the trick. Hope this helps!

---

<div class="post-metadata">

**Author:** ![lsaylor](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/lsaylor/32/2149_2.png) [@lsaylor](https://forum.code.org/u/lsaylor)\
**Post date:** [September 26, 2018, 11:34pm UTC](https://forum.code.org/t/keeping-the-cc-image-as-is-while-changing-other-images-using-css/20237/3 "2018-09-26T23:34:51Z")

</div>

Can you send me a picture of their html code that included the class? My kids couldn’t figure out where to put the class info.
