title: Canvas and float
body: <p>I am working on a layout which contains a header, a nav bar, and then below it a container. Within the container, I would like to float a directional button to the left, a canvas with margins set to auto, and then another directional button floating to the right.</p>
  
  <p>The problem I am having is that the directional button drops below the canvas. There is more than enough horizontal space for them to fit in the container side by side, so I'm wondering if the canvas is responsible for this. (The width of the container is 985px, each directional button is 86px wide, and the canvas is 675px wide.)</p>
  
  <p>Can anyone tell me why this is happening or point me in the right direction? Please?</p>
  
  <p>HTML5:</p>
  
  <pre><code>&lt;div id="container"&gt;
  &lt;a href="#" id="LftButton"&gt;&lt;img src="imageFiles/arrowButtonLft.png" /&gt;&lt;/a&gt;
  &lt;div id="canvasWrapper"&gt;
  &lt;canvas id="myCanvas" width="675" height="600"&gt;&lt;p&gt;Your browser doesn't support canvas.&lt;/p&gt;&lt;/canvas&gt;
  &lt;script src="aboutMeScript.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;/div&gt;
  &lt;a href="#" id="RtButton"&gt;&lt;img src="imageFiles/arrowButtonRt.png" /&gt;&lt;/a&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>CSS:</p>
  
  <pre><code>body{
  background-image:url(imageFiles/bubsAndSqs_clip2_02062012.png);
  background-color:#000;}
  #myCanvas{
  width:675px;
  height:600px;
  float:left;}
  #canvasWrapper{
  width:675px;
  height:600px;
  margin:auto;}
  #RtButton{
  float:right;}
  #LftButton{float:left;}
  </code></pre>