# \[BUG\] Generated CSS leaves off ;

**URL:** <https://forum.pinegrow.com/t/bug-generated-css-leaves-off/1117>\
**Category:** General\
**Tags:** bug\
**Created:** [July 13, 2017, 8:19pm UTC](https://forum.pinegrow.com/t/bug-generated-css-leaves-off/1117 "2017-07-13T20:19:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![msavard](https://avatars.discourse-cdn.com/v4/letter/m/e5b9ba/32.png) [@msavard](https://forum.pinegrow.com/u/msavard)\
**Post date:** [July 13, 2017, 8:19pm UTC](https://forum.pinegrow.com/t/bug-generated-css-leaves-off/1117/1 "2017-07-13T20:19:02Z")

</div>

AS the title says, the generated CSS from pinegrow leaves off the ending semi-colon ( ; ) from the last definition in the class. So, for example:

```
.imageCaption {
margin: 0;
padding: 5px;
width: 200px;
}

```

ends up being

```
.imageCaption {
margin: 0;
padding: 5px;
width: 200px
}

```

This happens consistently even if you go back and edit the class again with the visual editor.

---

<div class="post-metadata">

**Author:** ![Emmanuel](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/emmanuel/32/6294_2.png) [@Emmanuel](https://forum.pinegrow.com/u/Emmanuel)\
**Post date:** [July 13, 2017, 9:31pm UTC](https://forum.pinegrow.com/t/bug-generated-css-leaves-off/1117/2 "2017-07-13T21:31:32Z")

</div>

It can be surprising, but it’s not a bug.  
The last declaration of a block doesn’t need to be terminated by a semi-colon

> **[Syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Syntax#CSS_declarations_blocks)**
>
> The basic goal of the Cascading Stylesheet (CSS) language is to allow a browser engine to paint elements of the page with specific features, like colors, positioning, or decorations. The CSS syntax reflects this goal and its basic building blocks...

---

<div class="post-metadata">

**Author:** ![Emmanuel](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/emmanuel/32/6294_2.png) [@Emmanuel](https://forum.pinegrow.com/u/Emmanuel)\
**Post date:** [July 13, 2017, 9:33pm UTC](https://forum.pinegrow.com/t/bug-generated-css-leaves-off/1117/3 "2017-07-13T21:33:19Z")

</div>


