title: How to add a border around a canvas?
body: <p>I want to now how you can add a border <strong>around</strong> a canvas. So simply with the CSS code</p>
  
  <pre><code>border:black 3px solid;
  </code></pre>
  
  <p>you get the border <strong>in</strong> the canvas. And I dont want the border in the canvas. I want the border <strong>around</strong> the canvas. I want this with CSS.</p>
  
  <p>Thanks for helping! </p>
  
  <p>my css code:</p>
  
  <pre><code>#my_canvas {
      max-width: 98%;
      max-height: 98%;
      height: auto;
      width: auto;
      margin:auto;
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      background-color:white;
      border:black 3px solid;
  }
  #center {
      max-width: 66.5%;
      max-height: 95%;
      height: auto;
      width: auto;
      margin:auto;
      background:;
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
  }
  Body {
      background-color: slategrey;
  }
  </code></pre>