# Event Script crashes with CSS Properties that include hyphen

**URL:** <https://forum.inductiveautomation.com/t/event-script-crashes-with-css-properties-that-include-hyphen/68932>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 23, 2023, 7:58pm UTC](https://forum.inductiveautomation.com/t/event-script-crashes-with-css-properties-that-include-hyphen/68932 "2023-01-23T19:58:58Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 23, 2023, 8:53pm UTC](https://forum.inductiveautomation.com/t/event-script-crashes-with-css-properties-that-include-hyphen/68932/4 "2023-01-23T20:53:03Z")

</div>

Note that in python, a dash means "subtract". Jython doesn't know that you were trying to use the dash as part of a name, and that's not something IA can fix. Transforming naming styles is a workaround for poorly-thought-out computing standards (looking at you W3C).

---

_[View the full topic](https://forum.inductiveautomation.com/t/event-script-crashes-with-css-properties-that-include-hyphen/68932)._
