# Div as Canvas -\> possible to save down?

**URL:** <https://discourse.processing.org/t/div-as-canvas-possible-to-save-down/16478>\
**Category:** Coding Questions\
**Created:** [December 17, 2019, 7:55pm UTC](https://discourse.processing.org/t/div-as-canvas-possible-to-save-down/16478 "2019-12-17T19:55:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![potipoo](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@potipoo](https://discourse.processing.org/u/potipoo)\
**Post date:** [December 17, 2019, 7:55pm UTC](https://discourse.processing.org/t/div-as-canvas-possible-to-save-down/16478/1 "2019-12-17T19:55:43Z")

</div>

Hi, I’ve created a document where all my p5.js code changes the attributes of a

  
I am now wondering, is there a way of saving down the div? or to make the div appear as a canvas?

Thanks in advance,

Cheers Andy

---

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [December 18, 2019, 1:21am UTC](https://discourse.processing.org/t/div-as-canvas-possible-to-save-down/16478/2 "2019-12-18T01:21:03Z")

</div>

some of your post is not displayed?  
i think you used html syntax but not used the

```auto
</> editor code tag 

```

```auto
<p> test </p>

```

not sure you talk about positioning elements / html and canvas …  
study this, possibly find some helpful tricks in index.html and sketch.js  
[https://editor.p5js.org/kll/sketches/h53BeOPNU](https://editor.p5js.org/kll/sketches/h53BeOPNU)
